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.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

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:
    9
    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. garytrickett

    garytrickett

    Joined:
    Sep 2, 2018
    Posts:
    62
    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:
    9
    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.