You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2021. It is now read-only.
This throws the error TypeError: unhashable type: 'slice' since state1_batch is a dictionary with three keys, as returned from the processor. It seems that this chunk of code automatically assumes that state1_batch will be a list instead of a dictionary. The same can be said a few lines down with state0_batch. I would love to be able to fix this myself, but am unsure why there was a hardcoded 3 in the logic or why the length of the inputs would make a difference. I'd love to understand if someone is willing to explain.
Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question in the Discord.
Thank you!
Check that you are up-to-date with the master branch of Keras-RL. You can update with: pip install git+git://github.com/wau/keras-rl2.git --upgrade --no-deps
Check that you are up-to-date with the master branch of Keras. You can update with: pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short). If you report an error, please include the error message and the backtrace.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DDPGAgent
fails to train on the critic model while using aMultiInputProcessor
within itsbackward
method, specifically at lines 260-263:This throws the error
TypeError: unhashable type: 'slice'
sincestate1_batch
is a dictionary with three keys, as returned from the processor. It seems that this chunk of code automatically assumes thatstate1_batch
will be a list instead of a dictionary. The same can be said a few lines down withstate0_batch
. I would love to be able to fix this myself, but am unsure why there was a hardcoded3
in the logic or why the length of the inputs would make a difference. I'd love to understand if someone is willing to explain.Here is the script: hand_reach.py
Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question in the Discord.
Thank you!
Check that you are up-to-date with the master branch of Keras-RL. You can update with:
pip install git+git://github.com/wau/keras-rl2.git --upgrade --no-deps
Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short). If you report an error, please include the error message and the backtrace.
The text was updated successfully, but these errors were encountered: