Skip to content

Commit edf145d

Browse files
authored
Add PPO Tutorial (#2156)
1 parent 5c1fe74 commit edf145d

File tree

5 files changed

+715
-2
lines changed

5 files changed

+715
-2
lines changed

_static/img/invpendulum.gif

29.6 KB
Loading

conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676

7777
intersphinx_mapping = {
7878
"torch": ("https://pytorch.org/docs/stable/", None),
79+
"tensordict": ("https://pytorch-labs.github.io/tensordict/", None),
80+
"torchrl": ("https://pytorch.org/rl/", None),
7981
"torchaudio": ("https://pytorch.org/audio/stable/", None),
8082
"torchtext": ("https://pytorch.org/text/stable/", None),
8183
"torchvision": ("https://pytorch.org/vision/stable/", None),

index.rst

+8
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,13 @@ What's new in PyTorch tutorials?
269269
:link: intermediate/reinforcement_q_learning.html
270270
:tags: Reinforcement-Learning
271271

272+
.. customcarditem::
273+
:header: Reinforcement Learning (PPO) with TorchRL
274+
:card_description: Learn how to use PyTorch and TorchRL to train a Proximal Policy Optimization agent on the Inverted Pendulum task from Gym.
275+
:image: _static/img/invpendulum.gif
276+
:link: intermediate/reinforcement_ppo.html
277+
:tags: Reinforcement-Learning
278+
272279
.. customcarditem::
273280
:header: Train a Mario-playing RL Agent
274281
:card_description: Use PyTorch to train a Double Q-learning agent to play Mario.
@@ -874,6 +881,7 @@ Additional Resources
874881
:caption: Reinforcement Learning
875882

876883
intermediate/reinforcement_q_learning
884+
intermediate/reinforcement_ppo
877885
intermediate/mario_rl_tutorial
878886

879887
.. toctree::

0 commit comments

Comments
 (0)