mim
mim copied to clipboard
[Feat] prompt the built version of mmcv-full
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
Get and prompt the built version of mmcv-full that satisfies the current environment. close #149
Modification
- commands/install.py
- utlis/utils.py
- utils/__init__.py
BC-breaking (Optional)
Does the modification introduce changes that break the back-compatibility of the downstream repos? If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
![image](https://user-images.githubusercontent.com/32220263/177466925-ab99d5a7-3479-4640-8649-e59fcb8d6288.png)
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.
Codecov Report
Merging #150 (9b369e7) into main (eb5c5c6) will increase coverage by
21.88%
. The diff coverage is69.33%
.
@@ Coverage Diff @@
## main #150 +/- ##
===========================================
+ Coverage 32.58% 54.46% +21.88%
===========================================
Files 21 23 +2
Lines 1593 1568 -25
Branches 363 333 -30
===========================================
+ Hits 519 854 +335
+ Misses 1032 587 -445
- Partials 42 127 +85
Flag | Coverage Δ | |
---|---|---|
unittests | 54.46% <69.33%> (+21.88%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
mim/utils/default.py | 84.61% <ø> (ø) |
|
mim/version.py | 0.00% <0.00%> (ø) |
|
mim/click/compat.py | 45.45% <45.45%> (ø) |
|
mim/click/option.py | 54.05% <50.00%> (+23.75%) |
:arrow_up: |
mim/commands/install.py | 70.12% <68.70%> (+1.48%) |
:arrow_up: |
mim/commands/uninstall.py | 76.19% <76.47%> (-16.12%) |
:arrow_down: |
mim/utils/utils.py | 68.75% <76.47%> (+17.93%) |
:arrow_up: |
mim/click/__init__.py | 100.00% <100.00%> (ø) |
|
mim/commands/download.py | 88.46% <100.00%> (+53.84%) |
:arrow_up: |
mim/commands/search.py | 54.00% <100.00%> (+41.24%) |
:arrow_up: |
... and 12 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update c869f73...9b369e7. Read the comment docs.