Need to specify encoding as underlying data is not utf-8.
This commit is contained in:
parent
8c1c4dd5b4
commit
e4defc108f
|
|
@ -638,7 +638,7 @@
|
|||
"# In this case correct the link to the dataset below as well.\n",
|
||||
"\n",
|
||||
"with gzip.open('../../data/mnist.pkl.gz', 'rb') as mnist_pickle:\n",
|
||||
" MNIST = pickle.load(mnist_pickle)"
|
||||
" MNIST = pickle.load(mnist_pickle, encoding='latin1')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue