nuno-faria / tetris-ai

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

User error #4

Open scottvcaputo opened 4 years ago

scottvcaputo commented 4 years ago

I am trying to build a similar model using Tensorflow 2 with a slightly different neural network. The only error I continue to encounter is in the agent's "best_move" function. It continues to provide an error stating I am comparing "float" values to "None" values. I am unsure if this is a result of my improperly building the network, and as a result I am incorrectly feeding values to the network or if this is due to me incorrectly building the agent.

nuno-faria commented 5 months ago

Sorry for the delayed response. It might be a problem with the Tensorflow installation, since that operation calls the predict function. I tested with Tensorflow 2 and it worked as expected.