Skip to content

Commit

Permalink
Added fixes to systems to work with new vault directory struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcformanek committed Aug 23, 2024
1 parent be0a652 commit b72435f
Show file tree
Hide file tree
Showing 36 changed files with 77 additions and 403 deletions.
3 changes: 2 additions & 1 deletion examples/download_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
from og_marl.vault_utils.download_vault import download_and_unzip_vault

FLAGS = flags.FLAGS
flags.DEFINE_string("dataset_source", "og_marl", "Source of dataset.")
flags.DEFINE_string("env_name", "smac_v1", "Environment name.")
flags.DEFINE_string("scenario_name", "3m", "Environment scenario name.")


def main(_):
# Download vault
download_and_unzip_vault(FLAGS.daset_source, FLAGS.env, FLAGS.scenario)
download_and_unzip_vault(FLAGS.dataset_source, FLAGS.env_name, FLAGS.scenario_name)

# NEXT STEPS: See `examples/dataset_api_demo.ipynb`

Expand Down
62 changes: 0 additions & 62 deletions examples/jax/main.py

This file was deleted.

39 changes: 0 additions & 39 deletions examples/plot_marl_eval.py

This file was deleted.

35 changes: 0 additions & 35 deletions examples/tf2/online/iddpg_mamujoco.py

This file was deleted.

28 changes: 0 additions & 28 deletions examples/tf2/online/idrqn_smacv1.py

This file was deleted.

28 changes: 0 additions & 28 deletions examples/tf2/online/idrqn_smax.py

This file was deleted.

14 changes: 0 additions & 14 deletions examples/tf2/online/qmix_pursuit.py

This file was deleted.

14 changes: 0 additions & 14 deletions examples/tf2/online/qmix_smacv1.py

This file was deleted.

16 changes: 0 additions & 16 deletions examples/tf2/online/qmix_smacv2.py

This file was deleted.

102 changes: 0 additions & 102 deletions examples/tf2/run_all_baselines.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ mkdir -p $MUJOCOPATH \
&& tar -xf mujoco.tar.gz -C $MUJOCOPATH \
&& rm mujoco.tar.gz

# Install MA Mujoco
pip install -r install_environments/requirements/mamujoco.txt

# IMPORTANT!!!!
# You will need to set these environment variables every time you start a new terminal
# or add them to your .bashrc file
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/:$MUJOCOPATH/mujoco210/bin:/usr/lib/nvidia
# export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libGLEW.so
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/:$MUJOCOPATH/mujoco210/bin:/usr/lib/nvidia
export LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libGLEW.so
Loading

0 comments on commit b72435f

Please sign in to comment.