Search Unity

Resolved required constant "is_continuous_control" was not found in the model file

Discussion in 'ML-Agents' started by pablobandinopla, Jul 6, 2021.

  1. pablobandinopla

    pablobandinopla

    Joined:
    Jul 2, 2021
    Posts:
    98
    Im getting this error when attaching the generated model into the Agent inside Unity. I see that error on the Behaviour parameters... anyone know what this means? i did a google search but found nothing.. it looks like a warning but when i hit PLAY nothing happens, the Agent doesn't move at all...

    upload_2021-7-6_12-44-11.png


    Unity Side
    ML Agents: Version 1.6.0-preview - November 20, 2020

    Python side:
    Version information:
    ml-agents: 0.27.0,
    ml-agents-envs: 0.27.0,
    Communicator API: 1.5.0,
    PyTorch: 1.7.1+cu110
     
  2. pablobandinopla

    pablobandinopla

    Joined:
    Jul 2, 2021
    Posts:
    98
    SOLVED! I went to https://github.com/Unity-Technologies/ml-agents and saw that my Unity Package (1.6.0) was not the one corresponding to the Python Package i had installed (0.27). Installed ML Agents Version 2.1.0-exp.1 - June 09, 2021 on the Package manager (preview packages ON) and the error went away and everything worked fine!