From df1446eea9b9f4d93ea3f7f9365e65a8eee7af06 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Mon, 9 Sep 2019 15:34:56 +0200 Subject: [PATCH 1/2] fix url --- torchvision/datasets/mnist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/datasets/mnist.py b/torchvision/datasets/mnist.py index b95e8fe3d43..ba0194a68e6 100644 --- a/torchvision/datasets/mnist.py +++ b/torchvision/datasets/mnist.py @@ -227,7 +227,7 @@ class EMNIST(MNIST): target and transforms it. """ # Updated URL from https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist - url = 'https://cloudstor.aarnet.edu.au/plus/s/ZNmuFiuQTqZlu9W/download' + url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip' splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist') def __init__(self, root, split, **kwargs): From 16cbe573d38169e6029d482bdb3dbd20ce09eefd Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Mon, 9 Sep 2019 16:19:05 +0200 Subject: [PATCH 2/2] update comment --- torchvision/datasets/mnist.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/torchvision/datasets/mnist.py b/torchvision/datasets/mnist.py index ba0194a68e6..8b421f467e9 100644 --- a/torchvision/datasets/mnist.py +++ b/torchvision/datasets/mnist.py @@ -226,7 +226,10 @@ class EMNIST(MNIST): target_transform (callable, optional): A function/transform that takes in the target and transforms it. """ - # Updated URL from https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist + # Updated URL from https://www.nist.gov/node/1298471/emnist-dataset since the + # _official_ download link + # https://cloudstor.aarnet.edu.au/plus/s/ZNmuFiuQTqZlu9W/download + # is (currently) unavailable url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip' splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist')