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

Bug with --lesson command line argument

Open scotthovestadt opened this issue 8 years ago • 4 comments

When trying to resume from a previous lesson, providing the --lesson command line argument currently does not jump you straight into that lesson. Instead, the first lesson is started. When completed, the lesson counter is incremented from the value provided by --lesson and you jump to that lesson.

For example, I provide --lesson=3. I expect to start at the 4th lesson (0, 1, 2, 3). Instead, I start at the 1st lesson (0). When I complete that, the lesson counter is incremented (3+1) and I proceed to the 5th lesson (0, 1, 2, 3, 4).

I think I see the area in the code it can be fixed and I would be willing to explore that and file a PR unless you already have a fix coming down the pipeline.

scotthovestadt avatar Jul 13 '18 05:07 scotthovestadt

Hey @scotthovestadt! we appreciate the bug notif and thank you for offering to submit a PR. @dericp is looking into Curriculum Learning and would be able to better answer reg. the PR.

eshvk avatar Jul 17 '18 21:07 eshvk

Hi @scotthovestadt, I've been reworking this section of the code. I'll make sure to unit test this and fix the bug.

dericpang avatar Jul 20 '18 19:07 dericpang

@scotthovestadt I believe https://github.com/Unity-Technologies/ml-agents/pull/1043 fixes this bug. It could be great if you could try it on your end!

dericpang avatar Jul 31 '18 21:07 dericpang

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 04:01 lock[bot]