Skip to content

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

@shaye059

Description

@shaye059

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions