Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Making a new section in config file

Discussion in 'ML-Agents' started by ahmmmmmwhy, Mar 20, 2020.

  1. ahmmmmmwhy

    ahmmmmmwhy

    Joined:
    Aug 20, 2017
    Posts:
    11
    I see configuration file contains named sections such as "default", "Pyramids", "CrawlerStatic". I want to make a new section of my own.

    What do section names correspond to? Is this a scene name?

    How to I invoke a particular section of config file for my training session?
     
  2. celion_unity

    celion_unity

    Joined:
    Jun 12, 2019
    Posts:
    289
    The name corresponds to the Behavior Name that is set on the Agent's Behavior Parameters. For example, in the Pyramids scene:
    upload_2020-3-20_9-42-20.png

    The TrainerController will look for settings corresponding to the Behavior Name first, and if it doesn't find them, it will use the "default" settings.

    So the short answer is: you should use the Agent's Behavior Name
     
    ahmmmmmwhy likes this.