wade-ai icon indicating copy to clipboard operation
wade-ai copied to clipboard

AttributeError: module 'tensorflow' has no attribute 'ConfigProto'

Open shaye059 opened this issue 4 years ago • 3 comments

The Python modules seem to be written for TensorFlow 1 and many of the methods are no longer supported. If anyone else is running TensorFlow 2.0 or newer and gets this issue run the following in command prompt within the Trash_Detection directory:

tf_upgrade_v2 --intree mrcnn --inplace

This will update the python files so that they are compatible with the newer version of TensorFlow. Alternatively, you can downgrade to TensorFlow version 1.13.1 and keras 2.1.0

shaye059 avatar Feb 19 '20 21:02 shaye059