-
Notifications
You must be signed in to change notification settings - Fork 413
[BugFix] [Feature] "_reset" flag for env reset #800
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
0e38ed4
Changed flag in EnvBase
matteobettini 7ef1b47
Changed flag in Vec Envs
matteobettini 4cf67cb
Fixed collectors
matteobettini 197c354
Fixed transforms
matteobettini 9d191e1
Fixed env tests and lint
matteobettini 5320414
Fixed env tests and lint
matteobettini 2cf04f9
Linting
matteobettini 155efd6
Added "_reset" kay deletion after use
matteobettini 01a7377
Linting
matteobettini 23a82fc
Added "_reset" kay deletion after use
matteobettini f8e3d33
removed deletion of reset flag from collector as the flag is deleted …
matteobettini 2c4eb10
Moved _reset check before calling wrapped env
matteobettini 87228e4
refactor how to check if flag is present
matteobettini 34317c0
added tests
matteobettini 9b3d4e7
Linting
matteobettini a721446
vmas support for _reset flag
matteobettini e615a52
Merge branch 'main' into reset_flag
matteobettini ac34b08
refactor
matteobettini 469b6d5
close ParallelEnv
matteobettini 416b066
partial reset mirrored in step_count
matteobettini 9d5754e
Added torch seeding
matteobettini e1dbaff
Modified tests
matteobettini d9dc888
Removed last dim of 1
matteobettini a244c95
removed lid dim of 1 to "step_count"
matteobettini 5daadee
removed another 1
matteobettini 00c351b
change spec of StepCount
matteobettini 6f99133
set the done properly in StepCount
matteobettini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.