Skip to content

Commit 5c808c7

Browse files
committed
Fixed error in example ImageRecognitionInception #670
1 parent 524ebe2 commit 5c808c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TensorFlowNET.Examples/ImageProcessing/ImageRecognitionInception.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public ExampleConfig InitConfig()
3232

3333
public bool Run()
3434
{
35+
tf.compat.v1.disable_eager_execution();
36+
3537
PrepareData();
3638

3739
var graph = new Graph();

0 commit comments

Comments
 (0)