ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Done() doesn't call AgentReset()?

Open GeriBP opened this issue 8 years ago • 4 comments

How do you properly reset the training scenario with the new update? Can't figure it out, in the examples Done() seems to get the job done, but when I try with my own agents Done() appears to do nothing, AgentReset() is not being called.

Thanks in advance

GeriBP avatar Mar 21 '18 23:03 GeriBP

I am experiencing the same thing. Sometimes calling Done() in the Agent does not reset the agent. I am using imitation learning with a teacher brain and a student brain. Agents using the student brain sometimes call Done() but the agent does not get reset.

RossMelbourne avatar Apr 04 '18 02:04 RossMelbourne

@RossMelbourne Do you have the Reset On Done property set to true?

GeriBP avatar Apr 04 '18 10:04 GeriBP

I did have Reset On Done checked. I was wrong about the reset not being called, it was. I had a logic problem in my code which looked exactly like reset was not being called. Problem solved, for me.

RossMelbourne avatar Apr 05 '18 13:04 RossMelbourne

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '20 13:01 lock[bot]