Commit 680c7459 authored by Alex Alemi's avatar Alex Alemi Committed by Francisco Massa
Browse files

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
parent 6df85a68
......@@ -205,7 +205,7 @@ class KMNIST(MNIST):
class EMNIST(MNIST):
"""`EMNIST <https://www.nist.gov/itl/iad/image-group/emnist-dataset/>`_ Dataset.
"""`EMNIST <https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist>`_ Dataset.
Args:
root (string): Root directory of dataset where ``processed/training.pt``
......@@ -223,7 +223,8 @@ class EMNIST(MNIST):
target_transform (callable, optional): A function/transform that takes in the
target and transforms it.
"""
url = 'http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/gzip.zip'
# Updated URL from https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist
url = 'https://cloudstor.aarnet.edu.au/plus/index.php/s/54h3OuGJhFLwAlQ/download'
splits = ('byclass', 'bymerge', 'balanced', 'letters', 'digits', 'mnist')
def __init__(self, root, split, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment