-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improve] Add --cfg-options
in train/test scripts
#826
Conversation
Codecov Report
@@ Coverage Diff @@
## master #826 +/- ##
==========================================
+ Coverage 83.08% 83.17% +0.09%
==========================================
Files 219 220 +1
Lines 12354 12441 +87
Branches 2000 2012 +12
==========================================
+ Hits 10264 10348 +84
- Misses 1774 1775 +1
- Partials 316 318 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hello, thanks again for your contribution.
Don't worry, if you do not speak Chinese we will fix the last two. |
Fix #569 |
I added minimal explanation to |
--cfg-options
in train/test scripts
I have added lines in Chinese docs. We can merge this after all CI passes. |
cherry pick from open-mmlab/mmagic#826
* add cfg-options for tools scripts * add a description about --cfg-options * Add cfg-option in chinese docs Co-authored-by: wangruohui <12756472+wangruohui@users.noreply.github.com>
* add cfg-options for tools scripts * add a description about --cfg-options * Add cfg-option in chinese docs Co-authored-by: wangruohui <12756472+wangruohui@users.noreply.github.com>
https://github.com/open-mmlab/mmdetection/blob/3e2693151add9b5d6db99b944da020cba837266b/tools/train.py#L72
Sometimes we want to use a custom runtime configuration for a given configuration file.
This feature is already supported in other mm-frameworks, so I added it.