The full information
Traceback (most recent call last):
File “main.py”, line 17, in 
trainset = datasets.MNIST(‘data’, train=True, download=False, transform=transform)
File “/home/sjt524/anaconda3/lib/python3.7/site-packages/torchvision/datasets/mnist.py”, line 80, in init
self.data, self.targets = torch.load(os.path.join(self.processed_folder, data_file))
File “/home/sjt524/anaconda3/lib/python3.7/site-packages/torch/serialization.py”, line 593, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File “/home/sjt524/anaconda3/lib/python3.7/site-packages/torch/serialization.py”, line 780, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 10700742 more bytes. The file might be corrupted.
Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-43-generic x86_64)
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
Type “copyright”, “credits” or “license” for more information.
IPython 6.5.0 – An enhanced Interactive Python.