Skip to content

Commit 50b2a8b

Browse files
authored
Merge pull request #2136 from devharsh/patch-1
Update model-stealing-demo.ipynb
2 parents 6029b12 + aee4c25 commit 50b2a8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

notebooks/model-stealing-demo.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@
3535
"from keras.models import Sequential\n",
3636
"from keras.layers import Dense, Flatten, Conv2D, MaxPooling2D, Flatten, InputLayer, Reshape\n",
3737
"\n",
38-
"from art.classifiers import KerasClassifier\n",
38+
"from art.estimators.classification import KerasClassifier\n",
3939
"\n",
40-
"if tf.executing_eagerly():\n",
41-
" tf.python.framework.ops.disable_eager_execution()"
40+
"tf.compat.v1.disable_eager_execution()"
4241
]
4342
},
4443
{

0 commit comments

Comments
 (0)