-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Acquire Role as Enum modification - Rework base observation space keeping P1 and P2 as in engine - Use wrapper to add action to obs space - Keep discrete and multi discrete action type in observation space - TODO: - Check how normalization works for new actions - Add wrapper to make observations relative (own_ opp_) for both 1P and 2P (with agent_0 and agent_1 differentiation)
- Loading branch information
Showing
18 changed files
with
265 additions
and
165 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,4 +1,4 @@ | ||
from diambra.engine import SpaceType | ||
from diambra.engine import SpaceTypes, Roles | ||
from diambra.engine import model | ||
from .make_env import make | ||
from .utils.gym_utils import available_games, game_sha_256, check_game_sha_256, get_num_envs |
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
Oops, something went wrong.