Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Error when training process started

Discussion in 'ML-Agents' started by ilaydanil, Jun 3, 2020.

  1. ilaydanil

    ilaydanil

    Joined:
    May 17, 2020
    Posts:
    20
    After I start the training, the environment.py connects to the brains, gets their hyperparameters for the related brains and then, I encounter with an error like the one below and the training stops itself.


    Traceback (most recent call last):
    File "C:\Users\user\anaconda3\envs\mlagentsrelease1\lib\multiprocessing\connection.py", line 312, in _recv_bytes
    nread, err = ov.GetOverlappedResult(True)
    BrokenPipeError: [WinError 109]

    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "C:\Users\user\anaconda3\envs\mlagentsrelease1\lib\multiprocessing\process.py", line 297, in _bootstrap
    self.run()
    File "C:\Users\user\anaconda3\envs\mlagentsrelease1\lib\multiprocessing\process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
    File "c:\users\user\desktop\ml-agents-15.0-capstone\ml-agents-release_1\ml-agents\mlagents\trainers\subprocess_env_manager.py", line 151, in worker
    req: EnvironmentRequest = parent_conn.recv()
    File "C:\Users\user\anaconda3\envs\mlagentsrelease1\lib\multiprocessing\connection.py", line 250, in recv
    buf = self._recv_bytes()
    File "C:\Users\user\anaconda3\envs\mlagentsrelease1\lib\multiprocessing\connection.py", line 321, in _recv_bytes
    raise EOFError
    EOFError
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,836
    I'll forward this over to the team for them to have a look. Which versions of ML Agents, Python, and C# are you using?
     
  3. ilaydanil

    ilaydanil

    Joined:
    May 17, 2020
    Posts:
    20
    I use
    ml-agents: 0.16.0,
    ml-agents-envs: 0.16.0,
    Communicator API: 1.0.0,
    TensorFlow: 2.0.0
     
  4. ilaydanil

    ilaydanil

    Joined:
    May 17, 2020
    Posts:
    20
    Also python 3.7.7