Skip to content

Commit

Permalink
Small hydra config fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcformanek committed Nov 10, 2024
1 parent c092663 commit e9d1028
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/continuous_bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/discrete_bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/iddpg_bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/iddpg_cql.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/iql_bcq.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/iql_cql.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/maddpg_cql.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/maicq.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/omar.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/qmix_bcq.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/offline/qmix_cql.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def run_experiment(cfg: DictConfig) -> None:

download_and_unzip_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"])

buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], cfg["task"]["dataset"])
buffer.populate_from_vault(cfg["task"]["source"], cfg["task"]["env"], cfg["task"]["scenario"], str(cfg["task"]["dataset"]))

wandb_config = {
"system": cfg["system_name"],
Expand Down
2 changes: 1 addition & 1 deletion og_marl/tf2_systems/online/configs/maddpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ replay:
sequence_length: 10
sample_period: 1
max_size: 10000
store_to_vault: True
store_to_vault: False

system:
train_period: 4
Expand Down
6 changes: 3 additions & 3 deletions requirements/baselines.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tensorflow[and-cuda]==2.15.1.*
tensorflow-probability[tf]==0.23.0
tensorflow[and-cuda]
tensorflow-probability[tf]
tensorflow_io
dm_sonnet
wandb
hydra-core==1.3.2
hydra-core
2 changes: 1 addition & 1 deletion requirements/datasets.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy
flashbax>=0.1.2
flashbax
gymnasium
requests
dm_tree
Expand Down

0 comments on commit e9d1028

Please sign in to comment.