Skip to content

Commit

Permalink
Update Perceptron.ipynb
Browse files Browse the repository at this point in the history
Add another url to download mnist.pkl.gz.
All the infos are from microsoft#241
  • Loading branch information
liuyanhui authored Aug 29, 2024
1 parent 21599e2 commit 2cb924d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@
"# If you are not running this notebook from a cloned repository, you may need to grab the binary dataset file first\n",
"# !wget https://github.com/microsoft/AI-For-Beginners/blob/main/data/mnist.pkl.gz?raw=true\n",
"# In this case correct the link to the dataset below as well.\n",
"# by liuyh : If it does not work , check this post : https://github.com/microsoft/AI-For-Beginners/issues/241"
"\n",
"with gzip.open('../../data/mnist.pkl.gz', 'rb') as mnist_pickle:\n",
" MNIST = pickle.load(mnist_pickle)"
Expand Down

0 comments on commit 2cb924d

Please sign in to comment.