diff --git a/examples/emnist/download.py b/examples/emnist/download.py index d5a53d1..41cf9ea 100644 --- a/examples/emnist/download.py +++ b/examples/emnist/download.py @@ -1,11 +1,12 @@ -from torchvision.datasets.utils import download_url, makedir_exist_ok +from torchvision.datasets.utils import download_url +import os raw_folder = '.data/EMNIST/raw' url = 'https://biometrics.nist.gov/cs_links/EMNIST/gzip.zip' md5 = "58c8d27c78d21e728a6bc7b3cc06412e" -makedir_exist_ok(raw_folder) +os.makedirs(raw_folder, exist_ok=True) # download files print('Downloading zip archive')