|
|
|
|
|
|
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). |
|
|
|
* `file_name` is the name of the environment binary (located in the root directory of the python project), remember to wrap the `file_name` with `""`. |
|
|
|
* `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 |
|
|
|