Hi @ammad99 ,
Did you see anything in the unity Editor or Player log? Did your environment crash? Could you provide more info for us, please?
Cheers,
Chris
What i observed was my environment was stuck in the middle of the simulation because my agent was at its mean position where as the moving car was stuck somewhere in the middle of the road (not at mean position).
Also to mention that i am trying to train only one agent…
At the moment my unity software is stuck so have to forcefully close it
previously i was using ml agents 0,21 and ml agent 1.6 in unity but then i changed it to 1.5 because i thought maybe 1.6 is not compatible with 0.21 ml agents (tensorflow) still the problem is there :(…
Any help in this regard would be highly appreciated because i don’t know what is the problem
maybe it’s a memory issue but don’t know how to solve it
digging more into the problem i found out that when the training is stuck then pressing “ESC” key helps before it shows you this error which is that the environment took too long to respond…
my 2 cents:
32 gigs of ram should be enough to run almost every homemade sym. Looking at your memory graph, it seems like your code is accumulating data without ever discarding them, leading to the “out of memory” message.
Maybe a list became too big? huge arrays stored in multiple copies? gameobjects being deactivated instead of destroyed, and accumulate over time?
I suggest you to check if everything is properly initialized between episodes.