• Max Lübbering's avatar
    Implemented integrity check (md5 hash) after dataset download (#1456) · 5eee0117
    Max Lübbering authored
    * 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
    5eee0117
mnist.py 19.7 KB