TensorFlow-HRT icon indicating copy to clipboard operation
TensorFlow-HRT copied to clipboard

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

Open TheShortKing69 opened this issue 2 years ago • 0 comments

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!

TheShortKing69 avatar Oct 14 '23 16:10 TheShortKing69