Skip to content

Commit

Permalink
Update Unity-Agents---Python-API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentpierre authored Nov 4, 2017
1 parent 6c5255e commit e11de85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Unity-Agents---Python-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env = UnityEnvironment(file_name=filename, worker_num=0)
A BrainInfo object contains the following fields:

* **`observations`** : A list of 4 dimensional numpy arrays. Matrix n of the list corresponds to the n<sup>th</sup> observation of the brain.
* **`states`** : A two dimensional numpy array of dimension `(batch size, state size)` if the state space is continuous and `(batch size, state size)` if the state space is discrete.
* **`states`** : A two dimensional numpy array of dimension `(batch size, state size)` if the state space is continuous and `(batch size, 1)` if the state space is discrete.
* **`memories`** : A two dimensional numpy array of dimension `(batch size, memory size)` which corresponds to the memories sent at the previous step.
* **`rewards`** : A list as long as the number of agents using the brain containing the rewards they each obtained at the previous step.
* **`local_done`** : A list as long as the number of agents using the brain containing `done` flags (wether or not the agent is done).
Expand Down

0 comments on commit e11de85

Please sign in to comment.