Skip to content

Commit 6fc827b

Browse files
committed
Update for new Keras version
1 parent 9895194 commit 6fc827b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

hands-on/020_mnist_data_exploration_complete.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
}
4848
],
4949
"source": [
50+
"from tensorflow import keras\n",
5051
"from collections import Counter\n",
5152
"from keras.datasets import mnist\n",
5253
"import matplotlib.pyplot as plt\n",
@@ -333,7 +334,7 @@
333334
],
334335
"metadata": {
335336
"kernelspec": {
336-
"display_name": "Python 3",
337+
"display_name": "Python 3 (ipykernel)",
337338
"language": "python",
338339
"name": "python3"
339340
},
@@ -347,9 +348,9 @@
347348
"name": "python",
348349
"nbconvert_exporter": "python",
349350
"pygments_lexer": "ipython3",
350-
"version": "3.7.3"
351+
"version": "3.10.9"
351352
}
352353
},
353354
"nbformat": 4,
354-
"nbformat_minor": 2
355+
"nbformat_minor": 4
355356
}

hands-on/020_mnist_data_exploration_courageous.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
37+
"from tensorflow import keras\n",
3738
"from collections import Counter\n",
3839
"from keras.datasets import mnist\n",
3940
"import matplotlib.pyplot as plt\n",
@@ -157,7 +158,7 @@
157158
],
158159
"metadata": {
159160
"kernelspec": {
160-
"display_name": "Python 3",
161+
"display_name": "Python 3 (ipykernel)",
161162
"language": "python",
162163
"name": "python3"
163164
},
@@ -171,9 +172,9 @@
171172
"name": "python",
172173
"nbconvert_exporter": "python",
173174
"pygments_lexer": "ipython3",
174-
"version": "3.7.3"
175+
"version": "3.10.9"
175176
}
176177
},
177178
"nbformat": 4,
178-
"nbformat_minor": 2
179+
"nbformat_minor": 4
179180
}

hands-on/020_mnist_data_exploration_lazy.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"metadata": {},
3535
"outputs": [],
3636
"source": [
37+
"from tensorflow import keras\n",
3738
"from collections import Counter\n",
3839
"from keras.datasets import mnist\n",
3940
"import matplotlib.pyplot as plt\n",
@@ -220,7 +221,7 @@
220221
],
221222
"metadata": {
222223
"kernelspec": {
223-
"display_name": "Python 3",
224+
"display_name": "Python 3 (ipykernel)",
224225
"language": "python",
225226
"name": "python3"
226227
},
@@ -234,9 +235,9 @@
234235
"name": "python",
235236
"nbconvert_exporter": "python",
236237
"pygments_lexer": "ipython3",
237-
"version": "3.7.3"
238+
"version": "3.10.9"
238239
}
239240
},
240241
"nbformat": 4,
241-
"nbformat_minor": 2
242+
"nbformat_minor": 4
242243
}

0 commit comments

Comments
 (0)