Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Trained Brain and No Episodes

Discussion in 'ML-Agents' started by David69, Aug 29, 2023.

  1. David69

    David69

    Joined:
    Oct 2, 2018
    Posts:
    32
    I have trained a brain on a simple Fire / Don't Fire discrete decision (of incoming missiles). How do I deploy this without using 'Episodes' - the 'Episodes' end early cutting of some missiles mid-flight before a decision can be made - can this be done using the trained brain only on inference ? Or does the Agent code & Episodes etc always need to be used even with a trained brain ?
     
  2. smallg2023

    smallg2023

    Joined:
    Sep 2, 2018
    Posts:
    154
    it still uses the same script so remove any condition to end the episode if you have any and also change the max step to 0 in the behaviour properties