Skip to content

Commit d76dea2

Browse files
Fix typos in python comments used to generate docs
1 parent 0320340 commit d76dea2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

ml-agents-envs/mlagents_envs/registry/unity_env_registry.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UnityEnvRegistry(Mapping):
1616
The UnityEnvRegistry implements a Map, to access an entry of the Registry, use:
1717
```python
1818
registry = UnityEnvRegistry()
19-
entry = registry[<environment_identifyier>]
19+
entry = registry[<environment_identifier>]
2020
```
2121
An entry has the following properties :
2222
* `identifier` : Uniquely identifies this environment
@@ -27,7 +27,7 @@ class UnityEnvRegistry(Mapping):
2727
To launch a Unity environment from a registry entry, use the `make` method:
2828
```python
2929
registry = UnityEnvRegistry()
30-
env = registry[<environment_identifyier>].make()
30+
env = registry[<environment_identifier>].make()
3131
```
3232
"""
3333

ml-agents/mlagents/trainers/optimizer/torch_optimizer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ def get_trajectory_value_estimates(
148148
"""
149149
Get value estimates and memories for a trajectory, in batch form.
150150
:param batch: An AgentBuffer that consists of a trajectory.
151-
:param next_obs: the next observation (after the trajectory). Used for boostrapping
152-
if this is not a termiinal trajectory.
151+
:param next_obs: the next observation (after the trajectory). Used for bootstrapping
152+
if this is not a terminal trajectory.
153153
:param done: Set true if this is a terminal trajectory.
154154
:param agent_id: Agent ID of the agent that this trajectory belongs to.
155155
:returns: A Tuple of the Value Estimates as a Dict of [name, np.ndarray(trajectory_len)],

ml-agents/mlagents/trainers/poca/optimizer_torch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ def get_trajectory_and_baseline_value_estimates(
565565
"""
566566
Get value estimates, baseline estimates, and memories for a trajectory, in batch form.
567567
:param batch: An AgentBuffer that consists of a trajectory.
568-
:param next_obs: the next observation (after the trajectory). Used for boostrapping
569-
if this is not a termiinal trajectory.
568+
:param next_obs: the next observation (after the trajectory). Used for bootstrapping
569+
if this is not a terminal trajectory.
570570
:param next_groupmate_obs: the next observations from other members of the group.
571571
:param done: Set true if this is a terminal trajectory.
572572
:param agent_id: Agent ID of the agent that this trajectory belongs to.

ml-agents/mlagents/trainers/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def need_increment(
517517
class Lesson:
518518
"""
519519
Gathers the data of one lesson for one environment parameter including its name,
520-
the condition that must be fullfiled for the lesson to be completed and a sampler
520+
the condition that must be fulfilled for the lesson to be completed and a sampler
521521
for the environment parameter. If the completion_criteria is None, then this is
522522
the last lesson in the curriculum.
523523
"""

0 commit comments

Comments
 (0)