Skip to content

Commit

Permalink
docs: fix SAC alg run command (#380)
Browse files Browse the repository at this point in the history
This commit fixes a typo in the SAC run command given in the
documentation.
  • Loading branch information
rickstaa committed Jan 19, 2024
1 parent 972079f commit cf0a7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/usage/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ eg:
--hid[h] [32,32] [64,32] --act torch.nn.Tanh --seed 0 10 20 --dt
--data_dir path/to/data
runs SAC in the ``Ant-v4`` gymnasium environment, with various settings controlled by the flags.
runs the SAC algorithm in the ``Ant-v4`` gymnasium environment, with various settings controlled by the flags.

By default, the PyTorch version will run. You can, however, substitute ``sac`` with
``sac_tf2`` for the TensorFlow version.
Expand Down Expand Up @@ -146,7 +146,7 @@ to see a readout of the docstring.

.. parsed-literal::
python -m stable_learning_control.run SAC --env Walker2d-v4 --exp_name walker --act torch.nn.ReLU
python -m stable_learning_control.run sac --env Walker2d-v4 --exp_name walker --act torch.nn.ReLU
sets ``torch.nn.ReLU`` as the activation function. (TensorFlow equivalent: run ``sac_tf`` with ``--act tf.nn.relu``.)

Expand Down

0 comments on commit cf0a7a3

Please sign in to comment.