Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Training a model while running a second mode in the client.

Discussion in 'ML-Agents' started by Qacona, Aug 29, 2022.

  1. Qacona

    Qacona

    Joined:
    Apr 16, 2022
    Posts:
    126
    Hi all,

    One of the things I'm working on right now is a two tiered approach I have a model that describes behaviour of a number of quasi-autonomous agents and a second model that acts as a controller and coordinates these agents to deliver a coherent outcome.

    I've trained my first model to 'do the task', but can I install this model in an agent in 'run mode' while also have a second agent using the mlagents client to learn to operate the first set of agents?
     
  2. smallg2023

    smallg2023

    Joined:
    Sep 2, 2018
    Posts:
    113
    yes, after you're done training your agent it will create a brain file which you can assign and it will use the learned behaviour instead of trying to continue training so you can train other agents that don't have a brain attached while the agents with brains will act as they have already learned to do
     
  3. Qacona

    Qacona

    Joined:
    Apr 16, 2022
    Posts:
    126
    Thanks! I'd been using the brain file in stand alone mode already, but I wasn't sure if I could train another one simultaneously.