Multi-brain play

One of the truly great things about the ML-Agents kit is the ability to add multiple agents powered by multiple brains quickly. This in turns gives us the ability to build more complex game environments or scenarios with fun agents/AI to play both with and against. Let's see how easy it is to convert our soccer example to let the agents all use individual brains:

  1. Open up the editor to the SoccerTwos scene we looked at earlier.
  2. Locate the Brains folder for the example at Assets | ML-Agents | Examples | Soccer | Brains.
  3. Click the Create menu in the upper right corner of the window and from the Context menu, and select ML-Agents | Learning Brain:
Creating a new learning brain
  1. Name the new brain RedStrikerLearning.  Create ...

Get Hands-On Deep Learning for Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.