浏览代码

[docs] Fixed parameter to UnityToGymWrapper on line 34 and 37 (#4392)

/MLA-1734-demo-provider
GitHub 4 年前
当前提交
c334bb80
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      gym-unity/README.md

4
gym-unity/README.md


```python
from gym_unity.envs import UnityToGymWrapper
env = UnityToGymWrapper(unity_environment, uint8_visual, flatten_branched, allow_multiple_obs)
env = UnityToGymWrapper(unity_env, uint8_visual, flatten_branched, allow_multiple_obs)
- `unity_environment` refers to the Unity environment to be wrapped.
- `unity_env` refers to the Unity environment to be wrapped.
- `uint8_visual` refers to whether to output visual observations as `uint8`
values (0-255). Many common Gym environments (e.g. Atari) do this. By default

正在加载...
取消
保存