farizrahman4u / qlearning4k

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

IndexError: too many indices for array #3

Closed korymath closed 8 years ago

korymath commented 8 years ago

Running into an issue running the test example programs.

Korys-MacBook-Air:examples korymathewson$ python test_snake.py Using Theano backend. Traceback (most recent call last): File "test_snake.py", line 23, in agent.train(snake, batch_size=64, nb_epoch=10000, gamma=0.8) File "build/bdist.macosx-10.6-intel/egg/qlearning4k/agent.py", line 92, in train IndexError: too many indices for array

Not 100% sure what the error is, before I started digging in I thought I would post some details.

farizrahman4u commented 8 years ago

Fixed.