-
Notifications
You must be signed in to change notification settings - Fork 1.2k
code refactor for venv #179
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
78 commits
Select commit
Hold shift + click to select a range
4b20cfa
env code refactor
youkaichao a2a543a
enable async simulation for all vec env
youkaichao 7e50d22
add venvs
youkaichao 8eda6c8
doc fix
youkaichao 01628a1
fix ray import
youkaichao 87fc0f0
fix close in profile & make run_once specific to vec env
youkaichao 556f094
correctly close and bugfix
youkaichao 5bcc4f4
bugfix for _batch_set_item and is_async
youkaichao 4706fb0
bugfix for incorrectly re-used collector in test_sac_with_il.py
youkaichao 836325d
bugfix for incorrectly re-used collector in test/discrete/test_a2c_wi…
youkaichao 8bd0d74
improve for send_action and get_result
youkaichao 7a5322d
rename VectorEnv to ForLoopVectorEnv and bugfix
youkaichao 4c38319
bugfix for sync simulation
youkaichao dd98f06
pep8 fix
youkaichao dac13ce
rename ForLoopVectorEnv to DummyVectorEnv
youkaichao 78a11d1
Merge branch 'dev' into worker
Trinkle23897 0e356b5
change examples venv
Trinkle23897 74d8961
update docs
Trinkle23897 abfb337
update docs
Trinkle23897 b6b2003
remove collector.close
Trinkle23897 01f1a96
fix close
Trinkle23897 51f0cb4
try import
Trinkle23897 d328b2e
polish venvs
Trinkle23897 a30ae27
fix readme
Trinkle23897 e3d37f4
merge
Trinkle23897 be93183
_batch_set_item bugfix
youkaichao 1efc253
rm pdqn
Trinkle23897 80b6f41
ensure termination of subproc
youkaichao 0dddbee
find a bug in collector
Trinkle23897 09b487a
bugfix for MyPolicy and collector
youkaichao ecf7a76
polish venvs
Trinkle23897 0cb303d
fix map
Trinkle23897 302199e
need_state, venv.close(), collect random with async
Trinkle23897 5129b0a
fix state inconsistency in collector
Trinkle23897 2f91101
adjust position and complete annotation
Trinkle23897 731b260
update docs
Trinkle23897 d15579b
venv close
Trinkle23897 698ca97
minor fix
Trinkle23897 fdec493
Update docs/tutorials/cheatsheet.rst
Trinkle23897 3c0dec7
_assert_is_NOT_closed
Trinkle23897 c08d6ea
small fix
Trinkle23897 55bba25
class assert
Trinkle23897 ded9762
pep8
Trinkle23897 92a9e99
change examples structure
Trinkle23897 c3c8906
docs for Venv
Trinkle23897 26f5b8e
update readme
Trinkle23897 c3e43c2
change ll_dqn
Trinkle23897 3c25414
timeout
Trinkle23897 ba9b6c7
timeout docs
Trinkle23897 17aeacd
add a figure in cheatsheet
Trinkle23897 f78b133
change image
Trinkle23897 c4bea74
docs
Trinkle23897 1b3d323
change image color
Trinkle23897 025129e
change title
Trinkle23897 4cbdffe
move wait_num to worker level
Trinkle23897 28cb3e4
fix pep8 and move checking empty ready conn to venv.step
Trinkle23897 5863cd6
add assertation for timeout
youkaichao 379c171
[not sure] remove step(None) in close
youkaichao 1c9838c
simple test
Trinkle23897 a6631bb
bugfix for ray worker.wait
youkaichao 038104c
bugfix: timeout not passed to venv
youkaichao 2e9cc53
fix test
Trinkle23897 579280f
add ray test to dev
Trinkle23897 568eb83
F401
Trinkle23897 91d262a
Merge branch 'dev' into worker
Trinkle23897 cb2f6ab
fix getattr with reserved keys in gym.Env
Trinkle23897 5bf96bd
reverse
Trinkle23897 bafe1bf
doc update and EnvWorker.__getattribute__
youkaichao 7d442f3
polish
Trinkle23897 e1da7f0
update doc for parallel simulation
youkaichao f6a1e28
Merge branch 'dev' into worker
Trinkle23897 5ce2ae4
docs
Trinkle23897 82ead96
add warning instead of remove
Trinkle23897 e7372ec
0.2.6
Trinkle23897 cee76e4
stable test async
Trinkle23897 ba77aac
remove gym.Env from BaseWorker
Trinkle23897 2080e6a
change to parser.parse_args()
Trinkle23897 091f39d
move _setup_buf
Trinkle23897 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
File renamed without changes.
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.