-
Notifications
You must be signed in to change notification settings - Fork 432
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
[Enhance] speed up training #181
Conversation
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.
Does setup_multi_processes
also work for tools/test.py?
Theoretically, it works. I will revise the code later according to the newest pr of mmdet. |
The update refers to open-mmlab/mmdetection#7036 |
Codecov Report
@@ Coverage Diff @@
## master #181 +/- ##
==========================================
+ Coverage 59.97% 63.82% +3.84%
==========================================
Files 94 95 +1
Lines 3388 3411 +23
Branches 542 546 +4
==========================================
+ Hits 2032 2177 +145
+ Misses 1271 1141 -130
- Partials 85 93 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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 speed up training
Modification
Refer to open-mmlab/mmdetection#6974
modify default_runtime.py, add
opencv_num_threads = 0
andmp_start_method = 'fork'
modify tools/train.py
Checklist
Before PR:
After PR: