Search Unity

Unity ML-Agents Python Low Level API

Discussion in 'ML-Agents' started by saniya6, Jul 28, 2021.

  1. saniya6

    saniya6

    Joined:
    May 25, 2021
    Posts:
    1
    Hello,

    I am trying to establish communication between Python Jupyter notebook and my unity game file. I am taking help from this documentation: https://github.com/Unity-Technologies/ml-agents/blob/main/docs/Python-API.md

    However, I am getting errors which I have attached in this thread. Please someone guide me how to debug these errors. I want to establish a connection and see the variables.

    error1.PNG error2.PNG
     
  2. ruoping_unity

    ruoping_unity

    Unity Technologies

    Joined:
    Jul 10, 2020
    Posts:
    134
    It seems like it's having problem connecting to the Unity build.
    The first thing I'd suggest is to make sure the mlagents python version in your notebook and the mlagents C# package version you use for making the build are from the same release (see release page for more details).