You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an error while training a TensorFlow custom object detection model. Initially, I started with TensorFlow 2.13.0, but the GPU was not detected. Therefore, I upgraded to TensorFlow 2.15.0.
File "/usr/local/lib/python3.10/dist-packages/object_detection/data_decoders/tf_example_decoder.py", line 556, in decode *
tensors = decoder.decode(serialized_example, items=keys)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 722, in decode *
outputs.append(handler.tensors_to_item(keys_to_tensors))
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 405, in tensors_to_item *
return self._decode(image_buffer, image_format)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 453, in _decode *
image = control_flow_ops.case(
AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'`
The text was updated successfully, but these errors were encountered:
I am facing an error while training a TensorFlow custom object detection model. Initially, I started with TensorFlow 2.13.0, but the GPU was not detected. Therefore, I upgraded to TensorFlow 2.15.0.
File "/usr/local/lib/python3.10/dist-packages/object_detection/data_decoders/tf_example_decoder.py", line 556, in decode *
tensors = decoder.decode(serialized_example, items=keys)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 722, in decode *
outputs.append(handler.tensors_to_item(keys_to_tensors))
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 405, in tensors_to_item *
return self._decode(image_buffer, image_format)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 453, in _decode *
image = control_flow_ops.case(
AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'`
The text was updated successfully, but these errors were encountered: