-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add action space to model #4210
Add action space to model #4210
Conversation
…east good enough)
… breaking rollout
* Started unifying IMPALA Vtrace implementations so that they are action space agnostic * Made VTrace work with both vector and discrete actions * Cleaned up code * Misc changes * Removed tf.squeeze * Reformat long line * Changed condition * Removed #noinspections * Removed .pep8 config * Changed model and behaviour dist * Removed condition * Changed log condition * Changed ' to " * Moved unstack outside of distribution for consistency
* Add support for gym.spaces.multi_discrete.MultiDiscrete action space to IMPALA * Fixed shape error * Removed output_hidden_shape * Removed _is_multi_discrete boolean * Remove action dtype * Moved line outside of if
# Conflicts: # python/ray/rllib/agents/agent.py
* added entangled env * improved entangled env
…ction-space-to-model
Test FAILed. |
Test FAILed. |
Test FAILed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I pushed a change to satisfy the linter (scripts/format.sh)
Test FAILed. |
…action-space-to-model
Test FAILed. |
jenkins retest this please |
Test FAILed. |
Looks like you missed a spot: Traceback (most recent call last): |
@ericl Fixed |
Test FAILed. |
Test FAILed. |
What do these changes do?
Model.get_model
now takes an aditional argumentaction_space
which is the target gym env action space.