Skip to content

Commit 36452f2

Browse files
authored
Fix typos (#282)
* Fix Typo * Fix typo * Fix Typo * Fix Typo * Fix Typos * Fix Typos * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo * Fix Typo
1 parent e466f6e commit 36452f2

21 files changed

+21
-21
lines changed

cleanrl/c51.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def parse_args():
3232
parser.add_argument("--wandb-entity", type=str, default=None,
3333
help="the entity (team) of wandb's project")
3434
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
35-
help="weather to capture videos of the agent performances (check out `videos` folder)")
35+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3636

3737
# Algorithm specific arguments
3838
parser.add_argument("--env-id", type=str, default="CartPole-v1",

cleanrl/c51_atari.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def parse_args():
3939
parser.add_argument("--wandb-entity", type=str, default=None,
4040
help="the entity (team) of wandb's project")
4141
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
42-
help="weather to capture videos of the agent performances (check out `videos` folder)")
42+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4343

4444
# Algorithm specific arguments
4545
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/ddpg_continuous_action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="HopperBulletEnv-v0",

cleanrl/ddpg_continuous_action_jax.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="HalfCheetah-v2",

cleanrl/dqn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="CartPole-v1",

cleanrl/dqn_atari.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def parse_args():
4040
parser.add_argument("--wandb-entity", type=str, default=None,
4141
help="the entity (team) of wandb's project")
4242
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
43-
help="weather to capture videos of the agent performances (check out `videos` folder)")
43+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4444

4545
# Algorithm specific arguments
4646
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/dqn_atari_jax.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def parse_args():
4242
parser.add_argument("--wandb-entity", type=str, default=None,
4343
help="the entity (team) of wandb's project")
4444
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
45-
help="weather to capture videos of the agent performances (check out `videos` folder)")
45+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4646

4747
# Algorithm specific arguments
4848
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/dqn_jax.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def parse_args():
3131
parser.add_argument("--wandb-entity", type=str, default=None,
3232
help="the entity (team) of wandb's project")
3333
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
34-
help="weather to capture videos of the agent performances (check out `videos` folder)")
34+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3535

3636
# Algorithm specific arguments
3737
parser.add_argument("--env-id", type=str, default="CartPole-v1",

cleanrl/ppg_procgen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="starpilot",

cleanrl/ppo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="CartPole-v1",

cleanrl/ppo_atari.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def parse_args():
4040
parser.add_argument("--wandb-entity", type=str, default=None,
4141
help="the entity (team) of wandb's project")
4242
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
43-
help="weather to capture videos of the agent performances (check out `videos` folder)")
43+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4444

4545
# Algorithm specific arguments
4646
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/ppo_atari_envpool.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="Pong-v5",

cleanrl/ppo_atari_lstm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def parse_args():
4040
parser.add_argument("--wandb-entity", type=str, default=None,
4141
help="the entity (team) of wandb's project")
4242
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
43-
help="weather to capture videos of the agent performances (check out `videos` folder)")
43+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4444

4545
# Algorithm specific arguments
4646
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/ppo_atari_multigpu.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def parse_args():
4242
parser.add_argument("--wandb-entity", type=str, default=None,
4343
help="the entity (team) of wandb's project")
4444
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
45-
help="weather to capture videos of the agent performances (check out `videos` folder)")
45+
help="whether to capture videos of the agent performances (check out `videos` folder)")
4646

4747
# Algorithm specific arguments
4848
parser.add_argument("--env-id", type=str, default="BreakoutNoFrameskip-v4",

cleanrl/ppo_continuous_action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="HalfCheetahBulletEnv-v0",

cleanrl/ppo_continuous_action_isaacgym/ppo_continuous_action_isaacgym.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def parse_args():
6262
parser.add_argument("--wandb-entity", type=str, default=None,
6363
help="the entity (team) of wandb's project")
6464
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
65-
help="weather to capture videos of the agent performances (check out `videos` folder)")
65+
help="whether to capture videos of the agent performances (check out `videos` folder)")
6666

6767
# Algorithm specific arguments
6868
parser.add_argument("--env-id", type=str, default="Ant",

cleanrl/ppo_pettingzoo_ma_atari.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="pong_v3",

cleanrl/ppo_procgen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="starpilot",

cleanrl/sac_continuous_action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="HopperBulletEnv-v0",

cleanrl/td3_continuous_action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def parse_args():
3434
parser.add_argument("--wandb-entity", type=str, default=None,
3535
help="the entity (team) of wandb's project")
3636
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
37-
help="weather to capture videos of the agent performances (check out `videos` folder)")
37+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3838

3939
# Algorithm specific arguments
4040
parser.add_argument("--env-id", type=str, default="HopperBulletEnv-v0",

cleanrl/td3_continuous_action_jax.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_args():
3333
parser.add_argument("--wandb-entity", type=str, default=None,
3434
help="the entity (team) of wandb's project")
3535
parser.add_argument("--capture-video", type=lambda x: bool(strtobool(x)), default=False, nargs="?", const=True,
36-
help="weather to capture videos of the agent performances (check out `videos` folder)")
36+
help="whether to capture videos of the agent performances (check out `videos` folder)")
3737

3838
# Algorithm specific arguments
3939
parser.add_argument("--env-id", type=str, default="HalfCheetah-v2",

0 commit comments

Comments
 (0)