nuno-faria / tetris-ai

A deep reinforcement learning bot that plays tetris
MIT License
260 stars 67 forks source link

Update dqn_agent.py #10

Open RemGo95 opened 2 years ago

RemGo95 commented 2 years ago

function object has no attribute 'predict' and 'fit'

nuno-faria commented 5 months ago

Sorry for the delayed response. I tested the code with the new version of Keras but could not reproduce the error. Both the model.predict and model.fit work as expected.