Skip to content

Commit

Permalink
Add explicit instructions to run baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
dtch1997 committed Oct 11, 2023
1 parent a39559c commit a850e3c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions projects/baselines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ by running
pip install -r requirements.txt -e .
```

Then you can run a baseline as follows:
```bash
python -m baselines.iql.main --config baselines/iql/configs/mujoco.py
```

## Running with Singularity
For production experiments on a cluster, we recommend using Singularity containers.
You can create a Singularity container that installs all of the runtime dependencies by
Expand All @@ -29,6 +34,11 @@ Then you can spawn a shell and run the examples in the package using the singula
singularity shell --nv --env PYTHONPATH=$PWD:$PWD/../../ cluster/corax-latest.sif
```

Then you can run a baseline as follows:
```bash
python -m baselines.iql.main --config baselines/iql/configs/mujoco.py
```

## Launching with LXM3
[LXM3](https://github.com/ethanluoyc/lxm3) users, please refer to cluster/launcher.py
for an example of how to launch experiments with LXM3. You may need to modify the
Expand Down

0 comments on commit a850e3c

Please sign in to comment.