浏览代码

add "the the" to precommit spell check (#4059)

/MLA-1734-demo-provider
GitHub 5 年前
当前提交
5cce69ae
共有 6 个文件被更改,包括 9 次插入5 次删除
  1. 4
      .pre-commit-search-and-replace.yaml
  2. 2
      docs/Installation.md
  3. 2
      docs/Migrating.md
  4. 2
      docs/Training-on-Amazon-Web-Service.md
  5. 2
      ml-agents/mlagents/trainers/ghost/trainer.py
  6. 2
      ml-agents/mlagents/trainers/sac/trainer.py

4
.pre-commit-search-and-replace.yaml


search: /ML[ -]Agents toolkit/
replacement: ML-Agents Toolkit
insensitive: true
- description: Replace "the the"
search: /the the/
replacement: the
insensitive: true

2
docs/Installation.md


order to find it.
**NOTE:** If you do not see the ML-Agents package listed in the Package Manager
please follow the the [advanced installation instructions](#advanced-local-installation-for-development) below.
please follow the [advanced installation instructions](#advanced-local-installation-for-development) below.
#### Advanced: Local Installation for Development

2
docs/Migrating.md


`RayPerception3d.Perceive()` that was causing the `endOffset` to be used
incorrectly. However this may produce different behavior from previous
versions if you use a non-zero `startOffset`. To reproduce the old behavior,
you should increase the the value of `endOffset` by `startOffset`. You can
you should increase the value of `endOffset` by `startOffset`. You can
verify your raycasts are performing as expected in scene view using the debug
rays.
- If you use RayPerception3D, replace it with RayPerceptionSensorComponent3D

2
docs/Training-on-Amazon-Web-Service.md


Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
Please consult the X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

2
ml-agents/mlagents/trainers/ghost/trainer.py


)
)
# Counts the The number of steps of the ghost policies. Snapshot swapping
# Counts the number of steps of the ghost policies. Snapshot swapping
# depends on this counter whereas snapshot saving and team switching depends
# on the wrapped. This ensures that all teams train for the same number of trainer
# steps.

2
ml-agents/mlagents/trainers/sac/trainer.py


:param training: Whether the trainer is set for training.
:param load: Whether the model should be loaded.
:param seed: The seed the model will be initialized with
:param run_id: The The identifier of the current run
:param run_id: The identifier of the current run
"""
super().__init__(
brain_name, trainer_settings, training, run_id, reward_buff_cap

正在加载...
取消
保存