-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd3c973
commit 0be00c1
Showing
6 changed files
with
182 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
## Atari Environments | ||
|
||
|
||
### Installation | ||
``` | ||
pip install shimmy[atari] | ||
|
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## dm-control soccer (multi-agent) | ||
|
||
### Installation | ||
``` | ||
pip install shimmy[dm-control] | ||
``` | ||
|
||
### Usage (Multi agent) | ||
```python | ||
from dm_control.locomotion import soccer as dm_soccer | ||
from shimmy.dm_control_multiagent_compatibility import ( | ||
DmControlMultiAgentCompatibilityV0, | ||
) | ||
|
||
walker_type = dm_soccer.WalkerType.BOXHEAD, | ||
|
||
env = dm_soccer.load( | ||
team_size=2, | ||
time_limit=10.0, | ||
disable_walker_contacts=False, | ||
enable_field_box=True, | ||
terminate_on_goal=False, | ||
walker_type=walker_type, | ||
) | ||
|
||
env = DmControlMultiAgentCompatibilityV0(env) | ||
``` | ||
|
||
### Class Description | ||
|
||
```{eval-rst} | ||
.. autoclass:: shimmy.dm_control_multiagent_compatibility.DmControlMultiAgentCompatibilityV0 | ||
:members: | ||
:undoc-members: | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ lastpage: | |
gym | ||
atari | ||
dm_control | ||
dm_multi | ||
open_spiel | ||
dm_lab | ||
``` |
This file contains 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
0be00c1
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.
Successfully deployed to the following URLs:
shimmy – ./
shimmy.vercel.app
shimmy-git-main-farama-foundation.vercel.app
shimmy-farama-foundation.vercel.app