mnist.load_data()遇到IOError: CRC check failed 0xc187cf56L != 0x14c5212fL

来源:互联网 发布:隔墙听音器 淘宝 编辑:程序博客网 时间:2024/06/05 03:15

i try to load the mnist dataset by writing :
from keras.datasets import mnist
(x_train,y_train),(x_test,y_test)=mnist.load_data()

but i get the following error :
IOError: CRC check failed 0xc187cf56L != 0x14c5212fL

how can i fix this error??


solutions:

rm ~/.keras/datasets/* and retry.

0 0