Skip to content

Commit 1e901d0

Browse files
committed
Updated to TensorFlow 2
1 parent 3622908 commit 1e901d0

21 files changed

+3432
-5323
lines changed

01_Simple_Linear_Model.ipynb

+114-91
Large diffs are not rendered by default.

02_Convolutional_Neural_Network.ipynb

+232-205
Large diffs are not rendered by default.

03C_Keras_API.ipynb

+52-144
Large diffs are not rendered by default.

07_Inception_Model.ipynb

+62-243
Large diffs are not rendered by default.

08_Transfer_Learning.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@
21492149
"name": "python",
21502150
"nbconvert_exporter": "python",
21512151
"pygments_lexer": "ipython3",
2152-
"version": "3.6.1"
2152+
"version": "3.6.10"
21532153
}
21542154
},
21552155
"nbformat": 4,

10_Fine-Tuning.ipynb

+159-114
Large diffs are not rendered by default.

11_Adversarial_Examples.ipynb

+14-15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
"/ [GitHub](https://github.com/Hvass-Labs/TensorFlow-Tutorials) / [Videos on YouTube](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ)"
1212
]
1313
},
14+
{
15+
"cell_type": "markdown",
16+
"metadata": {},
17+
"source": [
18+
"## WARNING!\n",
19+
"\n",
20+
"**This tutorial does not work with TensorFlow v.2 and it would take too much effort to update this tutorial to the new API.**"
21+
]
22+
},
1423
{
1524
"cell_type": "markdown",
1625
"metadata": {},
@@ -50,7 +59,6 @@
5059
"cell_type": "code",
5160
"execution_count": 1,
5261
"metadata": {
53-
"collapsed": false,
5462
"scrolled": true
5563
},
5664
"outputs": [
@@ -107,7 +115,6 @@
107115
"cell_type": "code",
108116
"execution_count": 3,
109117
"metadata": {
110-
"collapsed": false,
111118
"scrolled": true
112119
},
113120
"outputs": [
@@ -168,9 +175,7 @@
168175
{
169176
"cell_type": "code",
170177
"execution_count": 5,
171-
"metadata": {
172-
"collapsed": false
173-
},
178+
"metadata": {},
174179
"outputs": [
175180
{
176181
"name": "stdout",
@@ -204,9 +209,7 @@
204209
{
205210
"cell_type": "code",
206211
"execution_count": 6,
207-
"metadata": {
208-
"collapsed": false
209-
},
212+
"metadata": {},
210213
"outputs": [],
211214
"source": [
212215
"model = inception.Inception()"
@@ -689,7 +692,6 @@
689692
"cell_type": "code",
690693
"execution_count": 16,
691694
"metadata": {
692-
"collapsed": false,
693695
"scrolled": true
694696
},
695697
"outputs": [
@@ -885,7 +887,6 @@
885887
"cell_type": "code",
886888
"execution_count": 17,
887889
"metadata": {
888-
"collapsed": false,
889890
"scrolled": false
890891
},
891892
"outputs": [
@@ -975,7 +976,6 @@
975976
"cell_type": "code",
976977
"execution_count": 18,
977978
"metadata": {
978-
"collapsed": false,
979979
"scrolled": false
980980
},
981981
"outputs": [
@@ -1152,7 +1152,6 @@
11521152
"cell_type": "code",
11531153
"execution_count": 19,
11541154
"metadata": {
1155-
"collapsed": false,
11561155
"scrolled": false
11571156
},
11581157
"outputs": [
@@ -1360,7 +1359,7 @@
13601359
"metadata": {
13611360
"anaconda-cloud": {},
13621361
"kernelspec": {
1363-
"display_name": "Python [default]",
1362+
"display_name": "Python 3",
13641363
"language": "python",
13651364
"name": "python3"
13661365
},
@@ -1374,9 +1373,9 @@
13741373
"name": "python",
13751374
"nbconvert_exporter": "python",
13761375
"pygments_lexer": "ipython3",
1377-
"version": "3.5.2"
1376+
"version": "3.6.10"
13781377
}
13791378
},
13801379
"nbformat": 4,
1381-
"nbformat_minor": 0
1380+
"nbformat_minor": 1
13821381
}

12_Adversarial_Noise_MNIST.ipynb

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
"/ [GitHub](https://github.com/Hvass-Labs/TensorFlow-Tutorials) / [Videos on YouTube](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ)"
1212
]
1313
},
14+
{
15+
"cell_type": "markdown",
16+
"metadata": {},
17+
"source": [
18+
"## WARNING!\n",
19+
"\n",
20+
"**This tutorial does not work with TensorFlow v.2 and it would take too much effort to update this tutorial to the new API.**"
21+
]
22+
},
1423
{
1524
"cell_type": "markdown",
1625
"metadata": {},
@@ -2774,7 +2783,7 @@
27742783
"name": "python",
27752784
"nbconvert_exporter": "python",
27762785
"pygments_lexer": "ipython3",
2777-
"version": "3.6.1"
2786+
"version": "3.6.10"
27782787
}
27792788
},
27802789
"nbformat": 4,

13B_Visual_Analysis_MNIST.ipynb

+255-189
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)