Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Change usages of reset() to obs, info = reset() #214
Change usages of reset() to obs, info = reset() #214
Changes from 14 commits
0c0c7e3
fb97a04
3fa827f
29dac38
cac9c25
90e2478
78a655e
4ca8d6b
536385a
cd778ad
f66e644
b5c87f0
b03ea94
6d6750b
24ce5dd
50f2cf7
6b0a63a
2dad598
1bef95d
64c20c6
710b829
b4b704c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Don't know much about how this wrapper works but it seems to pass the tests despite only returning the observation, so maybe it's fine. Didn't try adding info but could in the future if we want everything to be consistent (this was one of only cases left of not returning info)
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.
I looked at the git blame and I believe there was never any returning of info in this function
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.
This change wasn't intentional, I think it must have been due to using an older version of master. I'm going to try removing it and seeing if the tests pass still
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.
Just removed it, will check back if it passed later
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.
CI passed but we don't have CI testing it with SB3, and looking at the docs they are keeping the old gym v21 API with done instead of truncations/terminations, so I'm going to keep this.
https://stable-baselines3.readthedocs.io/en/master/guide/vec_envs.html