farizrahman4u / qlearning4k

Q-learning for Keras
MIT License
385 stars 84 forks source link

Fixed error when trying to use models with Dropout or Weight Regulari… #7

Open ivdorelian opened 8 years ago

ivdorelian commented 8 years ago

…zers

As per https://github.com/fchollet/keras/issues/2417 the train mode is explicitly passed to K.function in order to avoid errors.

taoyizhi68 commented 8 years ago

still got error when I tried the snake example.