mmdetection
mmdetection copied to clipboard
[unify] change train_detector to train_model
change function name train_detector to train_model, same as other mmlab api style.
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
To be same as other mmlab api style.
Modification
change function name train_detector to train_model, same as other mmlab api style.
Checklist
- Pre-commit or other linting tools are used to fix the potential lint issues.
- The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
- If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
- The documentation has been modified accordingly, like docstring or example tutorials.
@EasonQYS Thank you for your submission! Please sign CLA at first.
Thanks for reminding me.
Codecov Report
Patch coverage is 1.85%
of modified lines.
Files Changed | Coverage |
---|---|
mmdet/apis/train.py | 1.85% |
:loudspeaker: Thoughts on this report? Let us know!.