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

The result of the example of "Making a New Learning Environment" is greatly different

Open tcy1998 opened this issue 7 years ago • 5 comments

The result in tensorboard is not converge. I could perfectly train the agents but the result is wrong. And I assume is probably caused by the different config parameter. My result is the first picture and the second picture is the correct result. The third one is my config parameter. picture1 picture2 picture3

tcy1998 avatar Jan 04 '19 20:01 tcy1998

Yes, the buffer and batch size have a large affect on how fast the agent learns in this environment. As discussed in https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Learning-Environment-Create-New.md#training-the-environment, they should be small.

jo3w4rd avatar Jan 04 '19 20:01 jo3w4rd

@jo3w4rd Thank you. That helps a lot

tcy1998 avatar Jan 04 '19 21:01 tcy1998

Thanks @jo3w4rd. @tcy1998 - let us know if this fixes your issue.

mmattar avatar Jan 05 '19 01:01 mmattar

@mmattar Thank you. It did fix my problem.

tcy1998 avatar Jan 05 '19 02:01 tcy1998

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 Mar 10 '20 19:03 lock[bot]