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

AttributeError: 'Sequential' object has no attribute 'uses_learning_phase'

Open yanivg10 opened this issue 4 years ago • 1 comments

I tried running one of the DDPG examples: 'python ddpg_pendulum.py' After 81 iterations the program stopped with an error: AttributeError: 'Sequential' object has no attribute 'uses_learning_phase'

'Sequential' is a Keras object that indeed does not have this attribute in a few versions I checked.

Can you check this out and comment on this problem?

Thank you.

yanivg10 avatar Apr 14 '20 18:04 yanivg10

AttributeError Issue should be resolved with https://github.com/wau/keras-rl2/pull/18

inarikami avatar May 07 '20 10:05 inarikami