Closed lxpan closed 7 years ago
Change image_dim_ordering
(th
or tf
) in the file ~/.keras/keras.json
. It can maybe fix the error.
I had the same issue, but this fixed it. Thanks!
Thanks, that did actually fix it!
This worked for me as well. But would it also affect the results if one were to use other DQN software which used a different ordering? I'm using the Tensorflow backend and had to switch from tf
to th
which seems to be the opposite of the way it should be.
I'm getting the error, ValueError: Negative dimension size caused by subtracting 8 from 4, when running dqn.py. What could be causing this?