qqwweee / keras-yolo3

A Keras implementation of YOLOv3 (Tensorflow backend)
MIT License
7.14k stars 3.44k forks source link

AttributeError: module 'keras.backend' has no attribute 'control_flow_ops' #685

Open zhongfanghong opened 4 years ago

JamZheng commented 4 years ago

maybe you should change the version of keras

usama99 commented 3 years ago

I have solved my own issue by downgrading the version from 2.2.4 to 2.1.5.

GREAT0 commented 3 years ago

You can also change the 'control_flow-ops' to tf in upgraded keras.

That is K.control_flow_ops.while.. to tf.while...

Hope it will solve the problem