Skip to content

Commit

Permalink
Merge pull request #26 from rses-dl-course/notebook_bug_fix
Browse files Browse the repository at this point in the history
changed test_dataset to test_dataset_norm
  • Loading branch information
twinkarma authored Jan 11, 2023
2 parents 4034e81 + d1a2fda commit 36144cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks/python/L02_classifying_images_of_clothing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
"outputs": [],
"source": [
"# Take a single image, and remove the color dimension by reshaping\n",
"for image, label in test_dataset.take(1):\n",
"for image, label in test_dataset_norm.take(1):\n",
" break\n",
"image = image.numpy().reshape((28,28))\n",
"\n",
Expand Down Expand Up @@ -428,7 +428,7 @@
"source": [
"plt.figure(figsize=(10,10))\n",
"i = 0\n",
"for (image, label) in test_dataset.take(25):\n",
"for (image, label) in test_dataset_norm.take(25):\n",
" image = image.numpy().reshape((28,28))\n",
" plt.subplot(5,5,i+1)\n",
" plt.xticks([])\n",
Expand Down Expand Up @@ -1256,7 +1256,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.10 (default, Jun 22 2022, 20:18:18) \n[GCC 9.4.0]"
},
"vscode": {
"interpreter": {
Expand Down

0 comments on commit 36144cd

Please sign in to comment.