100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 113192/113192 [00:00<00:00, 252593.26it/s]
Traceback (most recent call last):
File "emnist.py", line 94, in
generate_emnist(dir_path, num_clients, niid, balance, partition)
File "emnist.py", line 50, in generate_emnist
trainset = torchvision.datasets.EMNIST(
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 297, in init
super().init(root, **kwargs)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 99, in init
self.download()
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 334, in download
download_and_extract_archive(self.url, download_root=self.raw_folder, md5=self.md5)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 434, in download_and_extract_archive
download_url(url, download_root, filename, md5)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 155, in download_url
raise RuntimeError("File not found or corrupted.")
RuntimeError: File not found or corrupted.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 113192/113192 [00:00<00:00, 252593.26it/s] Traceback (most recent call last): File "emnist.py", line 94, in
generate_emnist(dir_path, num_clients, niid, balance, partition)
File "emnist.py", line 50, in generate_emnist
trainset = torchvision.datasets.EMNIST(
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 297, in init
super().init(root, **kwargs)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 99, in init
self.download()
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/mnist.py", line 334, in download
download_and_extract_archive(self.url, download_root=self.raw_folder, md5=self.md5)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 434, in download_and_extract_archive
download_url(url, download_root, filename, md5)
File "/home/pai/envs/hdl-bfl/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 155, in download_url
raise RuntimeError("File not found or corrupted.")
RuntimeError: File not found or corrupted.