I am using ML-Agents Release 19 and I’m having some issues trying training my AI with imitiation learning. I do not know what is wrong, everything seems to be right, but when I record, my demo files appears with 1kb and it seems to record nothing. Also, when I press play in the editor with Heuristic Only selected, this appears on console:
Couldn’t connect to trainer on port 5004 using API version 1.5.0. Will perform inference instead.
UnityEngine.Debug:Log (object)
Unity.MLAgents.Academy:InitializeEnvironment () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/Academy.cs:467)
Unity.MLAgents.Academy:LazyInitialize () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/Academy.cs:286)
Unity.MLAgents.Academy:.ctor () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/Academy.cs:255)
Unity.MLAgents.Academy/<>c:<.cctor>b__86_0 () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/Academy.cs:117)
System.Lazy`1<Unity.MLAgents.Academy>:get_Value ()
Unity.MLAgents.Academy:get_Instance () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/Academy.cs:132)
Unity.MLAgents.DecisionRequester:Awake () (at Library/PackageCache/com.unity.ml-agents@2.2.1-exp.1/Runtime/DecisionRequester.cs:57)