Implemented integrity check (md5 hash) after dataset download (#1456)
* Removed unnecessary class variables. * The integrity of dataset files is now being checked right after the download finished. Thus making sure that a corrupt file is not being extracted. In case of corruption we throw a RuntimeError. * Added missing md5 hashes to MNIST, FashionMNIST, KMNIST, EMNIST and QMNIST datasets. * Removed printing of error message when integrity check failed. Reformulated error message. * Reformatted code to be lint conform. * Fixed formatting in utils.py
Showing
Please register or sign in to comment