浏览代码

Added lingering change in dev-docs

- Commenting the seed flag.
/develop-generalizationTraining-TrainerController
Marwan Mattar 7 年前
当前提交
0ac129c5
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      docs/Python-API.md

3
docs/Python-API.md


```python
from unityagents import UnityEnvironment
env = UnityEnvironment(file_name="3DBall", worker_id=0)
env = UnityEnvironment(file_name="3DBall", worker_id=0, seed=1)
* `seed` indicates the seed to use when generating random numbers during the training process. In environments which do not involve physics calculations, setting the seed enables reproducible experimentation by ensuring that the environment and trainers utilize the same random seed.
## Interacting with a Unity Environment

正在加载...
取消
保存