Skip to content
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.python.ops.control_flow_ops' has no attribute 'case' #10

Open
TheShortKing69 opened this issue Oct 14, 2023 · 0 comments

Comments

@TheShortKing69
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant