Skip to content

Commit 680c745

Browse files
alexalemifmassa
authored andcommitted
Update URL for EMNIST (#726)
* Update URL for EMNIST Update the dataset and download URL for EMNIST to the url from the updated arxiv version. * Update mnist.py
1 parent 6df85a6 commit 680c745

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

torchvision/datasets/mnist.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class KMNIST(MNIST):
205205

206206

207207
class EMNIST(MNIST):
208-
"""`EMNIST <https://www.nist.gov/itl/iad/image-group/emnist-dataset/>`_ Dataset.
208+
"""`EMNIST <https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist>`_ Dataset.
209209
210210
Args:
211211
root (string): Root directory of dataset where ``processed/training.pt``
@@ -223,7 +223,8 @@ class EMNIST(MNIST):
223223
target_transform (callable, optional): A function/transform that takes in the
224224
target and transforms it.
225225
"""
226-
url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip'
226+
# Updated URL from https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist
227+
url = 'https://cloudstor.aarnet.edu.au/plus/index.php/s/54h3OuGJhFLwAlQ/download'
227228
splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist')
228229

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

0 commit comments

Comments
 (0)