Search Unity

Question how can i stop the ai training process?

Discussion in 'ML-Agents' started by Feretive, Aug 30, 2021.

  1. Feretive

    Feretive

    Joined:
    Jul 17, 2021
    Posts:
    19
    So how do i stop the ai training process i dont know how to do it im very new to ml agents.
    Can you show me how to stop it?
     
  2. gft-ai

    gft-ai

    Joined:
    Jan 12, 2021
    Posts:
    44
    I think you need to be a little more specific but I am guessing you start the training process in the terminal and press the play button in the unity editor?

    You can terminate the training by either "ctrl + c" in the terminal or click on the play button again.
     
  3. JulesVerny

    JulesVerny

    Joined:
    Dec 21, 2015
    Posts:
    47
    I note that Ctrl-C in the python terminal, stops the training, but that it plays nice by saving a model. So if you are impatient, at least you will get a model, even if you don't have any snapshots. Pretty impressive.