Skip to content

Zero Brains (Agents/Policies) in getting_started notebook #2992

Closed
@beluis3d

Description

@beluis3d

Describe the bug
It looks like Brains are being transitioned into Agents & Policies:
#2729
But I do not have access to the Design Doc for these changes
https://docs.google.com/document/d/1hBhBxZ9lepGF4H6fc6Hu6AW7UwOmnyX3trmgI3HpOmo/edit#

Issue:
There are 0 brains in the getting-started notebook

To Reproduce
There is a reference to Brain in this Notebook:
https://github.com/Unity-Technologies/ml-agents/blob/master/notebooks/getting-started.ipynb

I'm trying to run this notebook, and I have my environment executable file in the right place now.
But (based on my research), it looks like I need to set my Brain to "external"

The error is that there are 0 brains:
"Unity Academy name: Ball3DAcademy; Number of Training Brains : 0"
And the code expects at least one brain:
"env = UnityEnvironment(file_name=env_name); default_brain = env.external_brain_names[0]; brain = env.brains[default_brain]"

Notes:
I believe the resolution when Brain's existed was to make sure that the Brain was set to External and to set the Control tickmark, but I do not see any of those options in Unity's Ball3dAcademy example now. If Brain's no longer exist (as I'm understanding), then what is the solution to this now?

Environment (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue describes a potential bug in ml-agents.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions