Unify 2 types of config format into lmnet config #798
Conversation
This PR needs Approvals as follows.
Please choose reviewers and requet reviews! Click to see how to approve each reviewsYou can approve this PR by triggered comments as follows.
See all trigger commentsPlease replace [Target] to review target
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ownership Approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readability Approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readability Approval
/ready |
⏳Merge job is queued... |
😥Status check failed. Please fix problems and send |
Co-Authored-By: Kentaro Iizuka <iizuka.kentaro@gmail.com>
/ready |
⏳Merge job is queued... |
Overview
This PR is preparation for moving
train.py
andpredict.py
fromlmnet/executor
toblueoil/cmd
(#746). This PR aims for throwing blueoil config away and unifying 2 types of config format into lmnet config.Important changes
init.py
is updated to generate lmnet config instead of blueoil config.generate_lmnet_config.py
and config template files are updated a little according to this change.train.py
is also updated to accept lmnet config.blueoil/cmd/init.py
blueoil/cmd/train.py
blueoil/generate_lmnet_config.py
blueoil/templates/lmnet/classification.tpl.py
blueoil/templates/lmnet/object_detection.tpl.py
blueoil/templates/lmnet/semantic_segmentation.tpl.py
E2E test updates
The E2E test code is also updated according to config format updates. The config files for blueoil test are removed and the test scripts are updated to generate them on-the-fly.
tests/e2e/conftest.py
tests/e2e/test_classification.py
tests/e2e/test_keypoint_detection.py
tests/e2e/test_object_detection.py
tests/e2e/test_semantic_segmentation.py
tests/fixtures/configs/*.yaml
(deleted)