浏览代码

Merge branch 'master' into asymm-envs

/asymm-envs
Andrew Cohen 5 年前
当前提交
6554ccb7
共有 2 个文件被更改,包括 9 次插入2 次删除
  1. 7
      docs/Python-API.md
  2. 4
      ml-agents/mlagents/trainers/tests/test_simple_rl.py

7
docs/Python-API.md


```python
from mlagents_envs.environment import UnityEnvironment
# This is a non-blocking call that only loads the environment.
# Start interacting with the evironment.
env.reset()
behavior_names = env.get_behavior_names()
...
**NOTE:** Please read [Interacting with a Unity Environment](#interacting-with-a-unity-environment)
to read more about how you can interact with the Unity environment from Python.
- `file_name` is the name of the environment binary (located in the root
directory of the python project).

4
ml-agents/mlagents/trainers/tests/test_simple_rl.py


step_size=0.2,
)
override_vals = {
"max_steps": 750,
"max_steps": 1000,
"behavioral_cloning": {"demo_path": demo_path, "strength": 1.0, "steps": 1000},
"behavioral_cloning": {"demo_path": demo_path, "strength": 1.0, "steps": 1500},
"reward_signals": {
"gail": {
"strength": 1.0,

正在加载...
取消
保存