Skip to content

Commit 1c249ab

Browse files
authored
worker_num to worker_id (#238)
1 parent a2f8ef5 commit 1c249ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Unity-Agents---Python-API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Python-side communication happens through `UnityEnvironment` which is located in
99

1010
```python
1111
from unityagents import UnityEnvironment
12-
env = UnityEnvironment(file_name=filename, worker_num=0)
12+
env = UnityEnvironment(file_name=filename, worker_id=0)
1313
```
1414

1515
* `file_name` is the name of the environment binary (located in the root directory of the python project).
16-
* `worker_num` indicates which port to use for communication with the environment. For use in parallel training regimes such as A3C.
16+
* `worker_id` indicates which port to use for communication with the environment. For use in parallel training regimes such as A3C.
1717

1818
## Interacting with a Unity Environment
1919

0 commit comments

Comments
 (0)