Merge pull request #472 from jnayegandhi/main

Need to specify encoding as underlying data is not utf-8.
This commit is contained in:
Lee Stott 2025-08-28 23:18:17 +01:00 committed by GitHub
commit 483b3acbcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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')"
]
},
{