Skip to content

Commit 19a75b5

Browse files
authored
update EMNIST url (#3567) (#3570)
1 parent 2d9dcb9 commit 19a75b5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

torchvision/datasets/mnist.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,7 @@ class EMNIST(MNIST):
268268
target_transform (callable, optional): A function/transform that takes in the
269269
target and transforms it.
270270
"""
271-
# Updated URL from https://www.nist.gov/node/1298471/emnist-dataset since the
272-
# _official_ download link
273-
# https://cloudstor.aarnet.edu.au/plus/s/ZNmuFiuQTqZlu9W/download
274-
# is (currently) unavailable
275-
url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip'
271+
url = 'https://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip'
276272
md5 = "58c8d27c78d21e728a6bc7b3cc06412e"
277273
splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist')
278274
# Merged Classes assumes Same structure for both uppercase and lowercase version

0 commit comments

Comments
 (0)