Skip to content

module 'tensorflow.compat' has no attribute 'v1' #1

@michael-kotliar

Description

@michael-kotliar

Hello, I was trying to run Leopard and got this error. Looks like a problem related to the different version of Tensorflow.

Traceback (most recent call last):
  File "code_1bp/predict.py", line 8, in <module>
    tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR) ## disable tf warning!
AttributeError: module 'tensorflow.compat' has no attribute 'v1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions