Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Show Saved ML Agent

Discussion in 'ML-Agents' started by brainyxs, Jul 3, 2020.

  1. brainyxs

    brainyxs

    Joined:
    May 25, 2019
    Posts:
    13
    Hey, I am very new to mlagents in Unity.

    I made a small game and started a mlagent to train over 5 hours. And as I can see the highscore and Reward, it god really good in my game. So what I ant ist, to load this saved mlagent, and play this in real time, just to see, how it plays the game (Without any speedum).
    Is this possible and what do I have to do?

    Thanks!
     
  2. seboz123

    seboz123

    Joined:
    Mar 7, 2020
    Posts:
    24
    There is a model of your behavior created during the training process. You can find it in your results directory. You can then just dran and drop it the behavior parameters script in the unity editor and run it.