File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class EnvCreator:
37
37
38
38
Examples:
39
39
>>> # We create the same environment on 2 processes using VecNorm
40
- >>> # and check that the discounted count of observations match on
40
+ >>> # and check that the discounted count of observations matches on
41
41
>>> # both workers, even if one has not executed any step
42
42
>>> import time
43
43
>>> from torchrl.envs.libs.gym import GymEnv
@@ -103,7 +103,7 @@ def make_variant(self, **kwargs) -> EnvCreator:
103
103
Examples:
104
104
>>> from torchrl.envs import GymEnv
105
105
>>> env_creator_pendulum = EnvCreator(GymEnv, env_name="Pendulum-v1")
106
- >>> env_creator_cartpole = env_creator_pendulum(env_name="CartPole-v1")
106
+ >>> env_creator_cartpole = env_creator_pendulum.make_variant (env_name="CartPole-v1")
107
107
108
108
"""
109
109
# Copy self
You can’t perform that action at this time.
0 commit comments