Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. 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,799
    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