Skip to content

Commit

Permalink
Updated to TensorFlow 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Hvass-Labs committed Apr 2, 2020
1 parent 3622908 commit 1e901d0
Show file tree
Hide file tree
Showing 21 changed files with 3,432 additions and 5,323 deletions.
205 changes: 114 additions & 91 deletions 01_Simple_Linear_Model.ipynb

Large diffs are not rendered by default.

437 changes: 232 additions & 205 deletions 02_Convolutional_Neural_Network.ipynb

Large diffs are not rendered by default.

196 changes: 52 additions & 144 deletions 03C_Keras_API.ipynb

Large diffs are not rendered by default.

305 changes: 62 additions & 243 deletions 07_Inception_Model.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 08_Transfer_Learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.10"
}
},
"nbformat": 4,
Expand Down
273 changes: 159 additions & 114 deletions 10_Fine-Tuning.ipynb

Large diffs are not rendered by default.

29 changes: 14 additions & 15 deletions 11_Adversarial_Examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"/ [GitHub](https://github.com/Hvass-Labs/TensorFlow-Tutorials) / [Videos on YouTube](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## WARNING!\n",
"\n",
"**This tutorial does not work with TensorFlow v.2 and it would take too much effort to update this tutorial to the new API.**"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -50,7 +59,6 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
Expand Down Expand Up @@ -107,7 +115,6 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
Expand Down Expand Up @@ -168,9 +175,7 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand Down Expand Up @@ -204,9 +209,7 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"model = inception.Inception()"
Expand Down Expand Up @@ -689,7 +692,6 @@
"cell_type": "code",
"execution_count": 16,
"metadata": {
"collapsed": false,
"scrolled": true
},
"outputs": [
Expand Down Expand Up @@ -885,7 +887,6 @@
"cell_type": "code",
"execution_count": 17,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
Expand Down Expand Up @@ -975,7 +976,6 @@
"cell_type": "code",
"execution_count": 18,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
Expand Down Expand Up @@ -1152,7 +1152,6 @@
"cell_type": "code",
"execution_count": 19,
"metadata": {
"collapsed": false,
"scrolled": false
},
"outputs": [
Expand Down Expand Up @@ -1360,7 +1359,7 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [default]",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1374,9 +1373,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.6.10"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}
11 changes: 10 additions & 1 deletion 12_Adversarial_Noise_MNIST.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"/ [GitHub](https://github.com/Hvass-Labs/TensorFlow-Tutorials) / [Videos on YouTube](https://www.youtube.com/playlist?list=PL9Hr9sNUjfsmEu1ZniY0XpHSzl5uihcXZ)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## WARNING!\n",
"\n",
"**This tutorial does not work with TensorFlow v.2 and it would take too much effort to update this tutorial to the new API.**"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -2774,7 +2783,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.10"
}
},
"nbformat": 4,
Expand Down
444 changes: 255 additions & 189 deletions 13B_Visual_Analysis_MNIST.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 1e901d0

Please sign in to comment.