Skip to content

Commit d71fa69

Browse files
authored
Merge pull request #2137 from devharsh/patch-2
Update model_inversion_attacks_mnist.ipynb
2 parents 20fbef7 + 055f3a1 commit d71fa69

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

notebooks/model_inversion_attacks_mnist.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
"from art.utils import load_dataset\n",
3939
"\n",
4040
"%matplotlib inline\n",
41-
"import matplotlib.pyplot as plt"
41+
"import matplotlib.pyplot as plt\n",
42+
"\n",
43+
"import tensorflow as tf\n",
44+
"tf.compat.v1.disable_eager_execution()"
4245
]
4346
},
4447
{

0 commit comments

Comments
 (0)