-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:FLAIROx/JaxMARL
- Loading branch information
Showing
18 changed files
with
963 additions
and
77 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Tests | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
max-parallel: 15 | ||
matrix: | ||
# os: [ubuntu-latest, macos-latest, windows-latest, macos-13-xlarge] | ||
# For Apple Silicon: https://github.com/actions/runner-images/issues/8439 | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ['3.9'] | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest | ||
pip install -e '.[dev]' | ||
- name: Run pytest | ||
run: pytest tests |
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
Binary file added
BIN
+103 KB
baselines/QLearning/checkpoints/MPE_simple_speaker_listener_v4/shaq_ps.safetensors
Binary file not shown.
Binary file added
BIN
+105 KB
baselines/QLearning/checkpoints/MPE_simple_spread_v3/shaq_ps.safetensors
Binary file not shown.
Binary file not shown.
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,30 @@ | ||
"NUM_ENVS": 8 | ||
"BUFFER_SIZE": 5000 | ||
"BUFFER_BATCH_SIZE": 32 | ||
"TOTAL_TIMESTEPS": 2050000 | ||
"AGENT_HIDDEN_DIM": 64 | ||
"AGENT_INIT_SCALE": 2. | ||
"PARAMETERS_SHARING": True | ||
"EPSILON_START": 1.0 | ||
"EPSILON_FINISH": 0.05 | ||
"EPSILON_ANNEAL_TIME": 100000 | ||
"MIXER_EMBEDDING_DIM": 32 | ||
"MIXER_HYPERNET_HIDDEN_DIM": 64 | ||
"MIXER_INIT_SCALE": 0.00001 | ||
"MAX_GRAD_NORM": 25 | ||
"TARGET_UPDATE_INTERVAL": 200 | ||
"LR": 0.005 | ||
"LR_LINEAR_DECAY": True | ||
"EPS_ADAM": 0.001 | ||
"WEIGHT_DECAY_ADAM": 0.00001 | ||
"TD_LAMBDA_LOSS": True | ||
"TD_LAMBDA": 0.6 | ||
"GAMMA": 0.9 | ||
"VERBOSE": False | ||
"WANDB_ONLINE_REPORT": True | ||
"NUM_TEST_EPISODES": 32 | ||
"TEST_INTERVAL": 50000 | ||
"SAMPLE_SIZE": 5 | ||
"MANUAL_ALPHA_ESTIMATES": null | ||
"LR_ALPHA": 0.001 | ||
"ALG_NAME": shaq |
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,30 @@ | ||
"NUM_ENVS": 8 | ||
"BUFFER_SIZE": 3000 | ||
"BUFFER_BATCH_SIZE": 32 | ||
"TOTAL_TIMESTEPS": 20000000 | ||
"AGENT_HIDDEN_DIM": 256 | ||
"AGENT_INIT_SCALE": 1. | ||
"PARAMETERS_SHARING": True | ||
"EPSILON_START": 1.0 | ||
"EPSILON_FINISH": 0.05 | ||
"EPSILON_ANNEAL_TIME": 100000 | ||
"MIXER_EMBEDDING_DIM": 64 | ||
"MIXER_HYPERNET_HIDDEN_DIM": 256 | ||
"MIXER_INIT_SCALE": 0.001 | ||
"MAX_GRAD_NORM": 10 | ||
"TARGET_UPDATE_INTERVAL": 200 | ||
"LR": 0.001 | ||
"LR_LINEAR_DECAY": False | ||
"EPS_ADAM": 0.00001 | ||
"WEIGHT_DECAY_ADAM": 0.000001 | ||
"TD_LAMBDA_LOSS": False | ||
"TD_LAMBDA": 0.6 | ||
"GAMMA": 0.99 | ||
"VERBOSE": False | ||
"WANDB_ONLINE_REPORT": True | ||
"NUM_TEST_EPISODES": 32 | ||
"TEST_INTERVAL": 100000 | ||
"SAMPLE_SIZE": 1 # suggest choosing from 1/5/10 | ||
"MANUAL_ALPHA_ESTIMATES": null | ||
"LR_ALPHA": 0.0005 | ||
"ALG_NAME": shaq |
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.