Skip to content

Commit

Permalink
fix mnist file load error
Browse files Browse the repository at this point in the history
  • Loading branch information
cutePanda123 authored Jan 6, 2024
1 parent 8f884cc commit a73db3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,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')"
]
},
{
Expand Down

0 comments on commit a73db3c

Please # to comment.