Search Unity

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.