From 7a9f42946d394dab540d93377e31a08db5a57526 Mon Sep 17 00:00:00 2001 From: Arthur Juliani Date: Mon, 8 Jan 2018 13:47:13 -0800 Subject: [PATCH] worker_num to worker_id --- docs/Unity-Agents---Python-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Unity-Agents---Python-API.md b/docs/Unity-Agents---Python-API.md index c78424d072..dd29686649 100644 --- a/docs/Unity-Agents---Python-API.md +++ b/docs/Unity-Agents---Python-API.md @@ -9,11 +9,11 @@ Python-side communication happens through `UnityEnvironment` which is located in ```python from unityagents import UnityEnvironment -env = UnityEnvironment(file_name=filename, worker_num=0) +env = UnityEnvironment(file_name=filename, worker_id=0) ``` * `file_name` is the name of the environment binary (located in the root directory of the python project). -* `worker_num` indicates which port to use for communication with the environment. For use in parallel training regimes such as A3C. +* `worker_id` indicates which port to use for communication with the environment. For use in parallel training regimes such as A3C. ## Interacting with a Unity Environment