Skip to content

Commit 9d0d8b5

Browse files
committed
updates 2023
1 parent 2413290 commit 9d0d8b5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lab2/Part1_MNIST.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
" <td align=\"center\"><a target=\"_blank\" href=\"http://introtodeeplearning.com\">\n",
2727
" <img src=\"https://i.ibb.co/Jr88sn2/mit.png\" style=\"padding-bottom:5px;\" />\n",
2828
" Visit MIT Deep Learning</a></td>\n",
29-
" <td align=\"center\"><a target=\"_blank\" href=\"https://colab.research.google.com/github/aamini/introtodeeplearning/blob/master/lab2/Part1_MNIST.ipynb\">\n",
29+
" <td align=\"center\"><a target=\"_blank\" href=\"https://colab.research.google.com/github/aamini/introtodeeplearning/blob/2023/lab2/Part1_MNIST.ipynb\">\n",
3030
" <img src=\"https://i.ibb.co/2P3SLwK/colab.png\" style=\"padding-bottom:5px;\" />Run in Google Colab</a></td>\n",
31-
" <td align=\"center\"><a target=\"_blank\" href=\"https://github.com/aamini/introtodeeplearning/blob/master/lab2/Part1_MNIST.ipynb\">\n",
31+
" <td align=\"center\"><a target=\"_blank\" href=\"https://github.com/aamini/introtodeeplearning/blob/2023/lab2/Part1_MNIST.ipynb\">\n",
3232
" <img src=\"https://i.ibb.co/xfJbPmL/github.png\" height=\"70px\" style=\"padding-bottom:5px;\" />View Source on GitHub</a></td>\n",
3333
"</table>\n",
3434
"\n",
@@ -41,13 +41,13 @@
4141
"id": "gKA_J7bdP33T"
4242
},
4343
"source": [
44-
"# Copyright 2022 MIT 6.S191 Introduction to Deep Learning. All Rights Reserved.\n",
44+
"# Copyright 2023 MIT Introduction to Deep Learning. All Rights Reserved.\n",
4545
"# \n",
4646
"# Licensed under the MIT License. You may not use this file except in compliance\n",
47-
"# with the License. Use and/or modification of this code outside of 6.S191 must\n",
48-
"# reference:\n",
47+
"# with the License. Use and/or modification of this code outside of MIT Introduction\n",
48+
"# to Deep Learning must reference:\n",
4949
"#\n",
50-
"# © MIT 6.S191: Introduction to Deep Learning\n",
50+
"# © MIT Introduction to Deep Learning\n",
5151
"# http://introtodeeplearning.com\n",
5252
"#"
5353
],
@@ -674,7 +674,7 @@
674674
" logits = # TODO\n",
675675
"\n",
676676
" #'''TODO: compute the categorical cross entropy loss\n",
677-
" loss_value = tf.keras.backend.sparse_categorical_crossentropy() # TODO\n",
677+
" loss_value = tf.keras.backend.sparse_categorical_crossentropy('''TODO''', '''TODO''') # TODO\n",
678678
"\n",
679679
" loss_history.append(loss_value.numpy().mean()) # append the loss to the loss_history record\n",
680680
" plotter.plot(loss_history.get())\n",
@@ -699,4 +699,4 @@
699699
]
700700
}
701701
]
702-
}
702+
}

0 commit comments

Comments
 (0)