Object detection with 10 lines of code

The 10 line of code I have written in Pycharm IDE but I am getting the following error:

AttributeError: module ‘tensorflow.python.keras.backend’ has no attribute ‘get_graph’

1 Like

Kindly install Tensorflow 1.13.1 by running the command below.

pip3 install tensorflow==1.13.1

Also, ensure your model file name is as exact as stated in the .setModelPath to avoid File not found error