Skip to content

Commit

Permalink
[RLlib; Docs] Updated RLlib training example page (#19932)
Browse files Browse the repository at this point in the history
  • Loading branch information
worldveil authored Nov 3, 2021
1 parent e6ae08f commit f359b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/rllib-training.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ be trained, checkpointed, or an action computed. In multi-agent training, the tr

.. image:: rllib-api.svg

You can train a simple DQN trainer with the following command:
You can train a simple DQN trainer with the following commands:

.. code-block:: bash
pip install "ray[rllib]" tensorflow
rllib train --run DQN --env CartPole-v0 # --config '{"framework": "tf2", "eager_tracing": true}' for eager execution
By default, the results will be logged to a subdirectory of ``~/ray_results``.
Expand Down

0 comments on commit f359b21

Please sign in to comment.