Hi All,

i have got this error while doing custom object detection in tensorflow.

Here the solution which i found
It occurs due to Tensorflow version
If it is TF2.0 then you need to replace  with tf.compat.v1.flags

Change the import tensorflow keyword

Correct One:

import tensorflow.compat.v1 as tf

0 comments:

Post a Comment