Skip to content
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

New info API for vectorized environments #2657 #2773

Merged
merged 49 commits into from
May 24, 2022
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8267cee
WIP refactor info API sync vector.
gianlucadecola Apr 22, 2022
26da959
Add missing untracked file.
gianlucadecola Apr 22, 2022
fca5d32
Add info strategy to reset_wait.
gianlucadecola Apr 22, 2022
b22f9b2
Add interface and docstring.
gianlucadecola Apr 23, 2022
00b876d
info with strategy pattern on async vector env.
gianlucadecola Apr 24, 2022
90fb9ec
Add default to async vecenv.
gianlucadecola Apr 24, 2022
ceb8d2e
episode statistics for asyncvecnev.
gianlucadecola Apr 24, 2022
fee3722
Add tests info strategy format.
gianlucadecola Apr 24, 2022
891b927
Add info strategy to reset_wait.
gianlucadecola Apr 24, 2022
efe22cb
refactor and cleanup.
gianlucadecola Apr 25, 2022
8061306
Code cleanup. Add tests.
gianlucadecola Apr 25, 2022
029980c
Add tests for video recording with new info format.
gianlucadecola Apr 25, 2022
8667dda
fix test case.
gianlucadecola Apr 25, 2022
c3855e5
fix camelcase.
gianlucadecola Apr 26, 2022
d09cc0c
rename enum.
gianlucadecola Apr 26, 2022
b05f7e6
update tests, docstrings, cleanup.
gianlucadecola Apr 27, 2022
ad003bb
Changes brax strategy to numpy. add_strategy method in StrategyFactor…
gianlucadecola Apr 30, 2022
a1340c5
fix docstring and logging format.
gianlucadecola Apr 30, 2022
f704758
Set Brax info format as default. Remove classic info format. Update t…
gianlucadecola May 8, 2022
ad89471
breaking the wrong loop.
gianlucadecola May 8, 2022
4a4efe9
WIP: wrapper.
gianlucadecola May 8, 2022
9693b35
Add wrapper for brax to classic info.
gianlucadecola May 10, 2022
36051b7
WIP: wrapper with nested RecordEpisodeStatistic.
gianlucadecola May 10, 2022
f2b4ab3
Add tests. Refactor docstrings. Cleanup.
gianlucadecola May 13, 2022
35041d9
cleanup.
gianlucadecola May 13, 2022
cb2b993
patch conflicts.
gianlucadecola May 13, 2022
0d1522d
rebase and conflicts.
gianlucadecola May 13, 2022
be23655
new pre-commit conventions.
gianlucadecola May 13, 2022
9532b51
docstring.
gianlucadecola May 13, 2022
6593114
renaming.
gianlucadecola May 14, 2022
479bc8b
incorporate info_processor in vecEnv.
gianlucadecola May 14, 2022
b9a862b
renaming. Create info dict only if needed.
gianlucadecola May 14, 2022
761b576
remove all brax references. update docstring. Update duplicate test.
gianlucadecola May 15, 2022
7a488b7
reviews.
gianlucadecola May 16, 2022
0e3e201
pre-commit.
gianlucadecola May 16, 2022
d2f8b1b
reviews.
gianlucadecola May 17, 2022
03e0627
docstring.
gianlucadecola May 17, 2022
e433d34
cleanup blank lines.
gianlucadecola May 17, 2022
ee556aa
add support for numpy dtypes.
gianlucadecola May 17, 2022
f92b75e
docstring fix.
gianlucadecola May 17, 2022
17b8cd3
formatting.
gianlucadecola May 17, 2022
29ec6bf
naming.
gianlucadecola May 18, 2022
5e2aead
assert correct info from wrappers chaining. Test correct wrappers cha…
gianlucadecola May 18, 2022
a2b186a
simplify episode_statistics.
gianlucadecola May 19, 2022
555bacc
change args orer.
gianlucadecola May 19, 2022
d6eb5e7
update tests.
gianlucadecola May 19, 2022
db21ebc
wip: refactor episode_statistics.
gianlucadecola May 20, 2022
0a02bd5
Merge branch 'master' into new-info-api-vecenv
gianlucadecola May 23, 2022
659b8fc
Add test for add_vecore_episode_statistics.
gianlucadecola May 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docstring fix.
  • Loading branch information
gianlucadecola committed May 17, 2022
commit f92b75ebd6e25259278875931b76d184a4d27557
2 changes: 1 addition & 1 deletion gym/vector/vector_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def step_wait(self, **kwargs):
def step(self, actions):
r"""Take an action for each parallel environment.

Args:
Parameters:
----------
actions : element of :attr:`action_space`
Batch of actions.
Expand Down