module ‘keras.backend’ has no attribute ‘control_flow_ops
In the Yolo V3 custom data during training part, this error occur frequently
AttributeError: module ‘keras.backend’ has no attribute ‘control_flow_ops’ . How to fixed this error.
admin Answered question May 7, 2022
Hi, This is abdullah.
The above error is frequently occur in colab due to the default Keras version and you can fixed it by installing specific version.
To solve it you need to create a new cell and perform below operation or steps.
!pip uninstall keras
!pip install keras==2.2.4
and the restart your runtime from starting. It work for me.
Still if you have any problem you can post here.
admin Answered question May 7, 2022