Ml-agents: Bug with --lesson command line argument

Created on 13 Jul 2018  路  4Comments  路  Source: Unity-Technologies/ml-agents

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.

bug

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.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerardsimons picture gerardsimons  路  3Comments

green4you picture green4you  路  4Comments

DVonk picture DVonk  路  3Comments

MarkTension picture MarkTension  路  3Comments

GeriBP picture GeriBP  路  3Comments