Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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

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

  1. wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    Joined:
    Dec 26, 2018
    Posts:
    6
    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. wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    Joined:
    Dec 26, 2018
    Posts:
    6
    thanks,you are right!
     
    lgendrot likes this.
  5. wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    wechat_os_Qy08e3ZtFIbnwBqF-ICnaEZm4

    Joined:
    Dec 26, 2018
    Posts:
    6