Skip to content

Commit 6ddda3a

Browse files
Philip Meierfmassa
authored andcommitted
Fix EMNSIT download URL (#1318)
* fix url * update comment
1 parent fe234fc commit 6ddda3a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

torchvision/datasets/mnist.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,11 @@ class EMNIST(MNIST):
226226
target_transform (callable, optional): A function/transform that takes in the
227227
target and transforms it.
228228
"""
229-
# Updated URL from https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist
230-
url = 'https://cloudstor.aarnet.edu.au/plus/s/ZNmuFiuQTqZlu9W/download'
229+
# Updated URL from https://www.nist.gov/node/1298471/emnist-dataset since the
230+
# _official_ download link
231+
# https://cloudstor.aarnet.edu.au/plus/s/ZNmuFiuQTqZlu9W/download
232+
# is (currently) unavailable
233+
url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip'
231234
splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist')
232235

233236
def __init__(self, root, split, **kwargs):

0 commit comments

Comments
 (0)