Search Unity

Environment too too long to respond

Discussion in 'ML-Agents' started by quizak, Jan 23, 2022.

  1. quizak

    quizak

    Joined:
    Jan 21, 2022
    Posts:
    1
    I have bee wrestling with getting a training model to work for about a week now and I have gotten so close but need some help. I am trying to get the Karting example to work and I keep getting "The Unity environment took too long to respond. Make sure that :.."

    What is weird is that everything seems to be installed correctly. I even get to the Unity screen in the prompt and when I hit start in the editor, I get "[INFO] Connected to Unity environment with package version 1.0.8 and communication version 1.0.0" The scene starts but the training never does. Here is what I have installed:

    Windows 11 Home 64
    Unity 2020.3.26f1
    Python 3.7.9
    Version information:
    ml-agents: 0.28.0,
    ml-agents-envs: 0.28.0,
    Communicator API: 1.5.0,
    PyTorch: 1.7.1+cu110

    I followed the github guide for installing everything. I have tried a few other demos and I cant seem to get any of them to work. I have tried to follow the tutorial but things don't seem to match anymore. The tutorial has an object called KartAcademy but the instance that comes with Unity does not have that prefab. Is that still needed?

    Any ideas on what I can try would be greatly appreciated.