Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
55a436cb
Unverified
Commit
55a436cb
authored
Sep 27, 2022
by
Ambuj Pawar
Committed by
GitHub
Sep 27, 2022
Browse files
Update link to download SBU dataset. Enable the test again (#6638)
Co-authored-by:
Ambuj Pawar
<
your_email@abc.example
>
parent
06d9726d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/test_datasets_download.py
test/test_datasets_download.py
+1
-1
torchvision/datasets/sbu.py
torchvision/datasets/sbu.py
+1
-1
No files found.
test/test_datasets_download.py
View file @
55a436cb
...
@@ -447,6 +447,7 @@ def make_parametrize_kwargs(download_configs):
...
@@ -447,6 +447,7 @@ def make_parametrize_kwargs(download_configs):
omniglot
(),
omniglot
(),
phototour
(),
phototour
(),
sbdataset
(),
sbdataset
(),
sbu
(),
semeion
(),
semeion
(),
stl10
(),
stl10
(),
svhn
(),
svhn
(),
...
@@ -470,7 +471,6 @@ def test_url_is_accessible(url, md5):
...
@@ -470,7 +471,6 @@ def test_url_is_accessible(url, md5):
**
make_parametrize_kwargs
(
**
make_parametrize_kwargs
(
itertools
.
chain
(
itertools
.
chain
(
places365
(),
# https://github.com/pytorch/vision/issues/6268
places365
(),
# https://github.com/pytorch/vision/issues/6268
sbu
(),
# https://github.com/pytorch/vision/issues/6390
)
)
)
)
)
)
...
...
torchvision/datasets/sbu.py
View file @
55a436cb
...
@@ -22,7 +22,7 @@ class SBU(VisionDataset):
...
@@ -22,7 +22,7 @@ class SBU(VisionDataset):
downloaded again.
downloaded again.
"""
"""
url
=
"http://www.cs.
virginia
.edu/~v
icente
/sbucaptions/SBUCaptionedPhotoDataset.tar.gz"
url
=
"http
s
://www.cs.
rice
.edu/~v
o9
/sbucaptions/SBUCaptionedPhotoDataset.tar.gz"
filename
=
"SBUCaptionedPhotoDataset.tar.gz"
filename
=
"SBUCaptionedPhotoDataset.tar.gz"
md5_checksum
=
"9aec147b3488753cf758b4d493422285"
md5_checksum
=
"9aec147b3488753cf758b4d493422285"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment