-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'tensorflow' has no attribute 'ConfigProto' #1
Comments
If you are running TensorFlow 2.3 (or even 2.* I think) , there's a method below may also solve the problem. apply |
Hi, What I did
Can you help me with a pip freeze just to know I have the right versions of the packages? Here is my pip freeze:
|
Hi |
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
The text was updated successfully, but these errors were encountered: