Search Unity

Question Curriculum Learning

Discussion in 'ML-Agents' started by ek578, Sep 25, 2020.

  1. ek578

    ek578

    Joined:
    Jun 25, 2020
    Posts:
    5
    Do I need to end the academy for the curriculum to move on to the next level? I believe my curriculum is not moving onto the next level, even though I set progress threshold to 0.125 out of 8 million total steps, I am still on the first level (no progression) after 4 million steps. Why is my curriculum not leveling up?
     
  2. ruoping_unity

    ruoping_unity

    Unity Technologies

    Joined:
    Jul 10, 2020
    Posts:
    134
    If you've set your curriculum properly you should be able to run it without doing anything extra. Can you provide more information about how you set up the curriculum, your config file, and maybe the tensorboard results?
     
  3. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    123
    Sounds like I have the same problem as you. Have you found a solution?
     
  4. ek578

    ek578

    Joined:
    Jun 25, 2020
    Posts:
    5
    Hi, I wasn't able to find a solution to this. How are you managing your lessons with C++?
     
  5. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    123
    I am currently simply checking the Academy.Instance.TotalStepCount() in c# and changing the training level structure depending on this value. I also report the change of the level via Academy.Instance.StatsRecorder.Add(...,...);
     
    Last edited: Oct 7, 2020
  6. ek578

    ek578

    Joined:
    Jun 25, 2020
    Posts:
    5
    Glad to hear that works for you! Thanks for the tip.