-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
import_modules_from_strings when loading cfg from file #606
Conversation
69cbdfd
to
083c5cc
Compare
Codecov Report
@@ Coverage Diff @@
## master #606 +/- ##
==========================================
- Coverage 64.65% 64.61% -0.05%
==========================================
Files 134 134
Lines 7645 7672 +27
Branches 1350 1358 +8
==========================================
+ Hits 4943 4957 +14
- Misses 2450 2459 +9
- Partials 252 256 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ping @dreamerlin |
This is different from what I have thought. |
Unittest has been improved |
* import_modules_from_strings when loading cfg from file * add unittest to tell whether the feature is enabled as expected * minor * set an environment variable instead of writing a file * use 'shutil' instead of 'os.system'
Proposal by @innerlee in open-mmlab/mmaction2#212