Search Unity

Is there a way using own algorithm on training agents?

Discussion in 'ML-Agents' started by Xinzz, Apr 1, 2020.

  1. Xinzz

    Xinzz

    Joined:
    Jun 28, 2015
    Posts:
    67
    For example, using my own implement of dqn as the training algorithm instead of the ppo or sac that have been pre-written? and of course using it in my own created game environment for RL?

    Thanks.
     
  2. Print_Hello_World

    Print_Hello_World

    Joined:
    Jan 14, 2020
    Posts:
    12
    Think you may have to use the python API and manually integrate your own algo. Not so sure how you're gonna do it but look up unity ML-Agents python API
     
  3. Xinzz

    Xinzz

    Joined:
    Jun 28, 2015
    Posts:
    67
    Use the unity gym wrapper will do, but only one agent at a time, so i think i will just stick with ppo or sac that has been prewritten by unity.