Search Unity

Question How do I set the maximum number of steps in ML Agents and Where do I find the config file

Discussion in 'ML-Agents' started by dmitryponv, Dec 7, 2023.

  1. dmitryponv


    Mar 9, 2021
    I checked this forum post

    However, they don't clarify at all where I can actually find this file,

    I searched for it everywhere in the venv folder and in the project folder. I dont have a config directory in my project folder, do I need to make one? do I need to copy this file from somewhere else, or is there one that gets created? The Github link points to source code for ml-agents. Do I need to build it first to change max_steps? That's Insane

    This link doesn't help either, it doesnt give the steps on how to change anything

    I there a default file I can just change somewhere?
    Can I just do it in the command line?
    Why doesn't the Max_steps setting on the agent gameobject not work? I set it to 10000000, but it still maxes out at 500000

    I dont understand how something so essential and necessary requires so many steps and has completely no instructions.
    If possible, please provide step by step instructions on how to change, in what file, and exactly where in this file

  2. smallg2023


    Sep 2, 2018
    you create your own, there are yaml files you can use as a guide in the demos if you downloaded them otherwise just look up one online or use the default settings the cmd line prints out as a template - it really depends what type of training you're doing as to which is best suited so i recommend downloading the demos and using the one that is closest to your goal