-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify MARL Env into New Framework (#524)
* top-down renderer to base * verify env deterministic * clean Environment * remove PGDriveEnv V2 * format * clean baseEnv * move save policy to outside * move some func from pgdrive to base env * WIP * finish * basic marl finish * all in spawn manager * move udpate dest to spawn mgr * almost finish * format * fix test * move env * fix fix bug * unify env * -length * fix bugs * format * fix test * not assert reward * not assert reward * fix bugs * format * vis multi agent * fix bug * fix copy issue * format * format * discrete action * format Co-authored-by: PENG Zhenghao <[email protected]>
- Loading branch information
Showing
85 changed files
with
1,000 additions
and
1,933 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 1,2 @@ | ||
import pgdrive.register | ||
from pgdrive.envs import PGDriveEnv, TopDownPGDriveEnv, TopDownSingleFramePGDriveEnv, \ | ||
PGDriveEnvV2, TopDownPGDriveEnvV2 | ||
from pgdrive.envs import PGDriveEnv, TopDownPGDriveEnv, TopDownSingleFramePGDriveEnv, TopDownPGDriveEnvV2 |
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
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
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,4 1,3 @@ | ||
from pgdrive.envs.marl_envs.multi_agent_pgdrive import MultiAgentPGDrive | ||
from pgdrive.envs.pgdrive_env import PGDriveEnv | ||
from pgdrive.envs.pgdrive_env_v2 import PGDriveEnvV2 | ||
from pgdrive.envs.top_down_env import TopDownSingleFramePGDriveEnv, TopDownPGDriveEnv, TopDownPGDriveEnvV2 |
Oops, something went wrong.