Search Unity

Question What happens when end episode is called when one agent is training and another is using inference?

Discussion in 'ML-Agents' started by StewedHarry, Aug 15, 2020.

  1. StewedHarry

    StewedHarry

    Joined:
    Jan 20, 2020
    Posts:
    45
    I'm training two agents in cycles where one will be using inference and the other will be training. If the inferring agent calls EndEpisode while the other is training, will this end the episode for the training agent?
     
  2. ChrissCrass

    ChrissCrass

    Joined:
    Mar 19, 2020
    Posts:
    31
    Episodes are local to the agent, so calling EndEpisode on one agent should not affect others.
     
    StewedHarry likes this.