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

Multiagent wrappers, tests, vecenv, aecenv fixes & more #183

Merged
merged 39 commits into from
Sep 22, 2022
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
322f28f
naive agent ind test
WillDudley Sep 17, 2022
62b88c5
agent ind running without bugs
WillDudley Sep 17, 2022
d305ef8
naive test both wrapper options
WillDudley Sep 17, 2022
683258e
docstring
WillDudley Sep 17, 2022
820ac9d
!AECVector wrapper bugfix/logic fix
WillDudley Sep 17, 2022
0df639e
black death sanity tests runs without bugs
WillDudley Sep 18, 2022
7dcabc2
remove print statement
WillDudley Sep 18, 2022
d14ff38
probable fix to done condition
WillDudley Sep 18, 2022
67430a7
(another) probable fix to done condition
WillDudley Sep 18, 2022
5addd3f
sanity tests not raising errors
WillDudley Sep 18, 2022
b3a9c1b
handle action=None
WillDudley Sep 18, 2022
2c9c16d
update done condition
WillDudley Sep 18, 2022
3d4e9ca
done -> term/trunc
WillDudley Sep 18, 2022
95eeb50
done -> term/trunc
WillDudley Sep 18, 2022
2c0c6de
bugfix
WillDudley Sep 18, 2022
c999af6
bugfix
WillDudley Sep 18, 2022
1e6cf5e
Update setup.py
jjshoots Sep 19, 2022
204f3d4
Merge branch 'API_Update' into Multiagent_wrappers
jjshoots Sep 19, 2022
b2950dc
Merge branch 'Utils' into Multiagent_wrappers
WillDudley Sep 19, 2022
27ea5de
[partial] debugging frame_skip.py
WillDudley Sep 19, 2022
c44b0b7
[fix] debugging frame_skip.py
WillDudley Sep 19, 2022
0b73dd3
bugfix
WillDudley Sep 19, 2022
6da300b
trunc update
WillDudley Sep 19, 2022
2c28294
trunc update
WillDudley Sep 19, 2022
1ff66e2
fix randint depreciation
WillDudley Sep 19, 2022
b8b31dc
trunc update
WillDudley Sep 19, 2022
f26a193
trunc update [partial, ignoring multiproc for now]
WillDudley Sep 19, 2022
d05ccbd
trunc update
WillDudley Sep 19, 2022
63d44ff
trunc update
WillDudley Sep 19, 2022
ad250e7
uncomment failing multiproc test
WillDudley Sep 19, 2022
80bad66
Merge pull request #2 from Farama-Foundation/master
WillDudley Sep 19, 2022
ae04f30
gym 24.1->26.0, tests pass locally (aside from the known mproc/vector…
WillDudley Sep 19, 2022
cdc2800
depend on PZ master branch instead of PZ API_Update branch
WillDudley Sep 19, 2022
42139e5
depreciate procconcatenv
WillDudley Sep 21, 2022
88f9f13
terms update (errors)
WillDudley Sep 22, 2022
74122e6
terms update (errors)
WillDudley Sep 22, 2022
86357db
terms update (errors)
WillDudley Sep 22, 2022
16704e5
Merge remote-tracking branch 'WillDudley/temporary_depreciations' int…
WillDudley Sep 22, 2022
69f001c
ignore concatenv tests
WillDudley Sep 22, 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
bugfix
  • Loading branch information
WillDudley committed Sep 18, 2022
commit c999af624106da48288895764a5df4f6c7cab4c7
2 changes: 1 addition & 1 deletion supersuit/generic_wrappers/frame_skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def step(self, action):
), "parallel environments that use frame_skip_v0 must provide a `default_action` argument for steps between an agent being generated and an agent taking its first step"
action[agent] = self.default_action

if (np.fromiter(term.values, dtype=bool) | np.fromiter(trunc.values, dtype=bool)).all():
if (np.fromiter(term.values(), dtype=bool) | np.fromiter(trunc.values(), dtype=bool)).all():
break

# delete any values created by agents which were
Expand Down