Search Unity

Resolved How to change the multiple environment training folder?

Discussion in 'ML-Agents' started by CommanderPaladin, Jun 12, 2021.

  1. CommanderPaladin

    CommanderPaladin

    Joined:
    Jul 6, 2020
    Posts:
    13
    Hello, I'm trying to do some multiple environments training but every time I run it, I go out of memory because the training is taking place of the C partition of my PC.
    C doesn't have a lot of space. I have changed the Build location, the Environments variables (temp Windows) and the Unity temp folders location and no avail. Still runs on C.

    Someone know how to change the multiple environments training to take place on an other partition?

    Thanks you so much.
     
  2. henrypeteet

    henrypeteet

    Unity Technologies

    Joined:
    Aug 19, 2020
    Posts:
    37
    Thanks for the question, there are 2 possible paths for this:

    1) If you are using release_17 or later of mlagents-learn then you can use the `--results-dir` argument to set the location of your results folder (could be on a different drive).

    2) You can invoke mlagents-learn from the directory of your choice (on the other drive). This is be because the results directory will be created in the directory where you run the mlagents-learn command.
     
    CommanderPaladin likes this.
  3. CommanderPaladin

    CommanderPaladin

    Joined:
    Jul 6, 2020
    Posts:
    13
    Yes. That was it. Thanks you so much for help and the time writing this! Really appreciate!