-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add sebulba ppo system and reorganise for future sebulba systems
- Loading branch information
1 parent
1a86c09
commit 5977cce
Showing
85 changed files
with
2,188 additions
and
124 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# --- Sebulba config --- | ||
architecture_name : sebulba | ||
# --- Training --- | ||
seed: 42 # RNG seed. | ||
total_num_envs: 1024 # Total Number of vectorised environments across all actors. Needs to be divisible by the number of actor devices and actors per device. | ||
total_timesteps: 1e7 # Set the total environment steps. | ||
# If unspecified, it's derived from num_updates; otherwise, num_updates adjusts based on this value. | ||
num_updates: ~ # Number of updates | ||
|
||
# Define the number of actors per device and which devices to use. | ||
actor: | ||
device_ids: [0,1] # Define which devices to use for the actors. | ||
actor_per_device: 2 # number of different threads per actor device. | ||
|
||
# Define which devices to use for the learner. | ||
learner: | ||
device_ids: [2,3] # Define which devices to use for the learner. | ||
|
||
# Size of the queue for the pipeline where actors push data and the learner pulls data. | ||
pipeline_queue_size: 10 | ||
|
||
# --- Evaluation --- | ||
evaluation_greedy: False # Evaluate the policy greedily. If True the policy will select | ||
# an action which corresponds to the greatest logit. If false, the policy will sample | ||
# from the logits. | ||
num_eval_episodes: 128 # Number of episodes to evaluate per evaluation. | ||
num_evaluation: 20 # Number of evenly spaced evaluations to perform during training. | ||
absolute_metric: True # Whether the absolute metric should be computed. For more details | ||
# on the absolute metric please see: https://arxiv.org/abs/2209.10485 |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_continuous | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_c51 | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_d4pg | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_ddpg | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_dqn | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_continuous | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_dqn | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_dqn | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_dqn | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_mpo | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_mpo_continuous | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: muzero | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_continuous | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_qr_dqn | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp | ||
- env: gymnax/cartpole | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_continuous | ||
- env: gymnax/pendulum | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_sac | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: mlp_continuous | ||
- env: brax/ant | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ defaults: | |
- network: sampled_muzero | ||
- env: gymnax/pendulum | ||
- _self_ | ||
|
||
hydra: | ||
searchpath: | ||
- file://stoix/configs |
Oops, something went wrong.