Merge pull request #472 from jnayegandhi/main
Need to specify encoding as underlying data is not utf-8.
This commit is contained in:
commit
483b3acbcb
|
|
@ -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