Search Unity

Multiple RL in the same game

Discussion in 'ML-Agents' started by tunahanpinar, Dec 5, 2021.

  1. tunahanpinar

    tunahanpinar

    Joined:
    Oct 24, 2021
    Posts:
    2
    I want to use two different reinforcement algorithms for each team in my basic game.
    In the same gaming time, one team will run with the PPO and the other one with the SAC.
    Algorithms are built-in in the unity toolkit.
    Is it possible?
     
  2. jrupert-unity

    jrupert-unity

    Unity Technologies

    Joined:
    Oct 20, 2021
    Posts:
    12
    You can configure it to train multiple RL models at the same time. The StrikerVsGoalie example does this. It uses two POCA trainers but I'm not aware of any reason they couldn't be different.
     
    tunahanpinar likes this.
  3. tunahanpinar

    tunahanpinar

    Joined:
    Oct 24, 2021
    Posts:
    2
    Thank you very much, I will check it.