Skip to content

Commit 55a436c

Browse files
ambujpawarAmbuj Pawar
and
Ambuj Pawar
authored
Update link to download SBU dataset. Enable the test again (#6638)
Co-authored-by: Ambuj Pawar <[email protected]>
1 parent 06d9726 commit 55a436c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_datasets_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def make_parametrize_kwargs(download_configs):
447447
omniglot(),
448448
phototour(),
449449
sbdataset(),
450+
sbu(),
450451
semeion(),
451452
stl10(),
452453
svhn(),
@@ -470,7 +471,6 @@ def test_url_is_accessible(url, md5):
470471
**make_parametrize_kwargs(
471472
itertools.chain(
472473
places365(), # https://github.com/pytorch/vision/issues/6268
473-
sbu(), # https://github.com/pytorch/vision/issues/6390
474474
)
475475
)
476476
)

torchvision/datasets/sbu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SBU(VisionDataset):
2222
downloaded again.
2323
"""
2424

25-
url = "http://www.cs.virginia.edu/~vicente/sbucaptions/SBUCaptionedPhotoDataset.tar.gz"
25+
url = "https://www.cs.rice.edu/~vo9/sbucaptions/SBUCaptionedPhotoDataset.tar.gz"
2626
filename = "SBUCaptionedPhotoDataset.tar.gz"
2727
md5_checksum = "9aec147b3488753cf758b4d493422285"
2828

0 commit comments

Comments
 (0)