Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  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:
    31
    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:
    102
    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