Skip to content

Commit

Permalink
docs: polish documents
Browse files Browse the repository at this point in the history
docs: polish documents
  • Loading branch information
Gaiejj authored Aug 21, 2023
2 parents 3111796 + 6d91db5 commit 7f80875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ cd safepo/multi_agent
python macpo.py --task ShadowHandOver_Safe_joint --experiment benchmark
```

**As Isaac Gym is holding in PyPI, you should install it manually, then clone [Safety-Gymnasium](https://github.com/PKU-Alignment/safety-gymnasium) instead of installing from PyPI.**

**Note**: The default value for ``task`` is ``MujucoVelocity``. The default scenrio is ``Ant`` while the default agent configuration is ``2x4``. You can run other agent or scenrio by:

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/source/usage/train.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To run the algorithms with default configuration, you need to specify the enviro
.. code-block:: bash
cd safepo/single_agent
python ppo_lag.py --env-id SafetyPointGoal1-v0 --experiment ppo_lag_exp
python ppo_lag.py --task SafetyPointGoal1-v0 --experiment ppo_lag_exp
Then you can check the results in the ``runs/ppo_lag_exp`` folder.

Expand Down Expand Up @@ -50,7 +50,7 @@ We provide the detailed description of the command line arguments in the followi
| --total-steps | Total timesteps of the | 10000000 |
| | experiments | |
+--------------------+----------------------------------+-----------------------------------------------+
| --env-id | ID of the environment | "SafetyPointGoal1-v0" |
| --task | ID of the environment | "SafetyPointGoal1-v0" |
+--------------------+----------------------------------+-----------------------------------------------+
| --use-eval | Toggles evaluation | False |
+--------------------+----------------------------------+-----------------------------------------------+
Expand Down

0 comments on commit 7f80875

Please sign in to comment.