wade-ai
wade-ai copied to clipboard
AttributeError: module 'tensorflow' has no attribute 'ConfigProto'
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