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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

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.