keras-yolo3 icon indicating copy to clipboard operation
keras-yolo3 copied to clipboard

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

Open zhongfanghong opened this issue 4 years ago • 3 comments

zhongfanghong avatar May 18 '20 05:05 zhongfanghong

maybe you should change the version of keras

JamZheng avatar May 29 '20 01:05 JamZheng

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

usama99 avatar Oct 22 '20 16:10 usama99

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

GREAT0 avatar Jan 05 '21 02:01 GREAT0