Search Unity

Question How to apply 'personal algrithm' in ml-agents?

Discussion in 'ML-Agents' started by likemango, Sep 27, 2022.

  1. likemango

    likemango

    Joined:
    Dec 26, 2018
    Posts:
    24
    I know 'Unity ML-Agents Gym Wrapper' can support personalizations algrithm and run it through gym process,but this method has many constrains,it is a bad solution to utilize it in a complex game.How should I modify the code of mlagents(C# / Python) to make it works which I can test different rl algrithm and design the neural network structures...
    Thanks for considerations and I am looking forward to any reply!
     
  2. Sab_Rango

    Sab_Rango

    Joined:
    Aug 30, 2019
    Posts:
    121
  3. lgendrot

    lgendrot

    Joined:
    Jul 23, 2017
    Posts:
    4
    I think you’re better off directly using Barracuda and the ml-agents low level python API if you need that level of control, and in fact I think that’s exactly what the documentation recommends for such a situation.
     
  4. likemango

    likemango

    Joined:
    Dec 26, 2018
    Posts:
    24
    thanks,you are right!
     
    lgendrot likes this.
  5. likemango

    likemango

    Joined:
    Dec 26, 2018
    Posts:
    24