Search Unity

Question Training freezes when doing Imitation Learning

Discussion in 'ML-Agents' started by InfinityGameDev, Apr 30, 2021.

  1. InfinityGameDev

    InfinityGameDev

    Joined:
    Jun 28, 2016
    Posts:
    54
    Hi all, I’ve started trying out imitation learning by copying the config file and Gail/BC values provided in the documentation. I recorded my game for about 10 minutes. When I put my demo file in the config and run training, it’ll run for a few seconds and then freeze for minutes, start again for a few seconds and then freeze. Repeats until I shut it down. I’ve tried reducing the agents to 1 and tweaking the parameters but no progress so far. Any ideas? Thanks!
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
    I'll flag for the team to have a look. Which version of ML Agents are you running?
     
    kofi21 likes this.
  3. kofi21

    kofi21

    Joined:
    Sep 6, 2022
    Posts:
    1
    Same here I'm using the latest version 29 and it keeps freezing in the editor, and then suddenly the agents will move then stop again for a minute then move like 3 units. Then the episode will end.