Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Is it possible to run a trained model without calling end episode?

Discussion in 'ML-Agents' started by vycanis1801, May 29, 2022.

  1. vycanis1801

    vycanis1801

    Joined:
    Feb 11, 2020
    Posts:
    12
    I don't think this post really needs a body, but here we are. Thanks for any help.
     
  2. iffalseelsetrue

    iffalseelsetrue

    Joined:
    May 3, 2018
    Posts:
    11
    hi, I think everything is possible, I've loaded a trained model into my scene, and removed the endepisode call from my script. so basically the agent now only has one chance to achieve the goal, if it fails, there is no way to reset the scene because end episode is removed. but if this is what you are after, then fine.
     
  3. vycanis1801

    vycanis1801

    Joined:
    Feb 11, 2020
    Posts:
    12
    yeah i was thinking about that i was hoping to do it without pulling out code. I was thinking about having more control what happens when the episode should end but I can probably just overwrite the method.