-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[rllib] Learner should not see clipped actions #3496
Conversation
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
3ef64f9
to
f53875c
Compare
Test FAILed. |
Test FAILed. |
raise ValueError("Expected tuple space for actions {}: {}".format( | ||
actions, space)) | ||
out = [] | ||
for a, s in zip(actions.batches, space.spaces): | ||
for a, s in zip(actions, space.spaces): |
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.
what does this change do?
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.
It's not a batch anymore.
What do these changes do?
This fixes an 0.6 regression where clipped actions were sent to the learner. Only the env should see clipped actions.
Adds an integration test that this does not regress performance in the future. @eugenevinitsky