Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Unity not working in SAC

Discussion in 'ML-Agents' started by mateolopezareal, Jun 26, 2020.

  1. mateolopezareal

    mateolopezareal

    Joined:
    Jun 4, 2020
    Posts:
    48
    I have been working with my project using PPO to train my agents, but now, I am trying to train them using SAC to compare the algorithms and every time I run the training the Unity environment get stuck. However, I the training is still doing its job asa I get the summaries, but i can not see what are the agents doing in the environment. Any idea?
     
  2. ervteng_unity

    ervteng_unity

    Unity Technologies

    Joined:
    Dec 6, 2018
    Posts:
    48
    Do the agents move at all, or is the environment completely stuck? Sometimes the training process takes up CPU and Unity will slow down the rendering - but in the backend the agents are still moving and it's still training properly.
     
  3. mateolopezareal

    mateolopezareal

    Joined:
    Jun 4, 2020
    Posts:
    48
    Yeah, they are still training, but I can not see how they are doing wich is kind of important for me. I have to see the transtion of colors that they take.
     
  4. ervteng_unity

    ervteng_unity

    Unity Technologies

    Joined:
    Dec 6, 2018
    Posts:
    48
    Try running with a lower timescale using
    --time-scale=X
    when running mlagents-learn (default is 20).
     
    mateolopezareal likes this.
unityunity