Skip to content

AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case' #10

@TheShortKing69

Description

@TheShortKing69

Hi there, I have issue when running tfexample_decoder with errors like this:
AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'
I am learning TFOD while facing this issue.
I have checked the .py, the error occurs in line 453:

image = control_flow_ops.case(
pred_fn_pairs, default=check_jpeg, exclusive=True)

I have tried to import case but it doesn't seem working as well. Pls HALP!

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