Skip to content

Commit 85a2ca2

Browse files
jbndementrock
authored andcommitted
FIX example path and code block in documentation (rll#159)
1 parent 393be07 commit 85a2ca2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/user/gym_integration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ Integrating with OpenAI Gym
88

99
`OpenAI Gym <https://gym.openai.com/>`_ is a recently released reinforcement learning toolkit that contains a wide
1010
range of environments and an online scoreboard. rllab now provides a wrapper to run algorithms in rllab on environments
11-
from OpenAI Gym, as well as submitting the results to the scoreboard. The example script in :code:`examples/trpo_gym.py`
11+
from OpenAI Gym, as well as submitting the results to the scoreboard. The example script in :code:`examples/trpo_gym_pendulum.py`
1212
provides a simple example of training an agent on the :code:`Pendulum-v0` environment. The content of the file is as follows:
1313

1414

1515
.. code-block:: python
16+
1617
from rllab.algos.trpo import TRPO
1718
from rllab.baselines.linear_feature_baseline import LinearFeatureBaseline
1819
from rllab.envs.gym_env import GymEnv

0 commit comments

Comments
 (0)