Search Unity

Question Setting --num-env greater than 1 with mlagents gives error: Another instance is already running

Discussion in 'ML-Agents' started by datacharmer, Sep 16, 2021.

  1. datacharmer

    datacharmer

    Joined:
    Aug 4, 2021
    Posts:
    1
    Hello Everyone,

    I have created a build of my environment for training it with mlagents. On setting --num-env to be greater than 1 gives the following error: Fatal Error! Another instance is already running.

    I am doing this on a windows machine. Want to run multiple environments to increase the training speed.

    Any help or direction will be highly appreciated.

    Thanks a lot,
    Harshit