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.
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.
Hi @scotthovestadt, I've been reworking this section of the code. I'll make sure to unit test this and fix the bug.
@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!
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.
Most helpful comment
Hi @scotthovestadt, I've been reworking this section of the code. I'll make sure to unit test this and fix the bug.