Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Overwrite max_step count in the config file

Discussion in 'ML-Agents' started by Panthesilea, Nov 18, 2020.

  1. Panthesilea

    Panthesilea

    Joined:
    May 31, 2013
    Posts:
    13
    When I start the mlagents-learn command then the training process always exits after 500 000 steps. I tried to load a config file which contains bigger max_steps value but it ignored the config file. If I set a config file in argument then after the training process this config file will be copied to the results (yes the copied version also has bigger max_steps value). After starting the mlagents-learn it seems a default configuration is always written out to the console which has only 500 000 steps. I don't know where does it come from but I cannot overwrite this value.

    mlagents.PNG
     
  2. Panthesilea

    Panthesilea

    Joined:
    May 31, 2013
    Posts:
    13
    Okay, I've figured out. Those settings are default and I had to use absolute path for the config file in the argument. I also changed the behavior name in the config to the one defined in Unity editor.