-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[Feature] Move 'Install MMCV' to a independent CI item. #602
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #602 +/- ##
==========================================
- Coverage 86.26% 85.95% -0.31%
==========================================
Files 101 101
Lines 5278 5234 -44
Branches 854 828 -26
==========================================
- Hits 4553 4499 -54
Misses 561 561
- Partials 164 174 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
.github/workflows/build.yml
Outdated
@@ -37,19 +37,26 @@ jobs: | |||
include: | |||
- torch: 1.3.0+cpu | |||
torchvision: 0.4.1+cpu | |||
torch_version: 1.3.0 |
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.
We may add device
to specify cuda / cpu.
.github/workflows/build.yml
Outdated
@@ -72,13 +75,13 @@ jobs: | |||
export PATH=${CUDA_HOME}/bin:${PATH} | |||
sudo apt-get install -y ninja-build | |||
- name: Install Pillow | |||
if: ${{matrix.torchvision == '0.4.1+cpu'}} | |||
if: ${{matrix.torchvision == '0.4.1'}} | |||
run: pip install Pillow==6.2.2 | |||
- name: Install PyTorch | |||
run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html |
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.
We need to install different device pytorch version.
.github/workflows/build.yml
Outdated
@@ -33,31 +33,34 @@ jobs: | |||
strategy: | |||
matrix: | |||
python-version: [ 3.6, 3.7 ] | |||
torch: [ 1.3.0+cpu, 1.5.0+cpu, 1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101 ] | |||
torch: [ 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0 ] |
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.
device:
* [Feature] Move 'Install MMCV' to a independent CI item. * Merge MMCV install into MMSEG dependencies install * Fix bug of 'Install MMCV' * Remove duplicate CI items * Fix torch device * Split cpu env and gpu env into two CI project * Fix some mmdet related bugs * Fix mmcv-full install bug of build_cpu CI project.
Fix params replication when sing the dummy checker.
* support videopose3d * remove outdated codes * fix unittests * increase codecov * modify batchsize & fix minor bug * codecov * support semi-supervised learning * modify config * modify semi_dataset * fix bug in semi-supervised config * rename dataset & add configs * add SemiSupervisionLoss to __init__.py * increase code coverage * modify path to joint_2d_det_file * rename data_cfg options & add docstring for data_cfg * refactor ImageCoordinateNormalization * fix problems in datasets * move warmup to loss * fix unittest * modify warmup_iterations * fix typo * modify RelativeJointRandomFlip * increase code coverage * remove unused variable
Add torch_version and cuda_version into
matrix
;Add 'Install MMCV_CPU' CI item to install mmcv-full in cpu environment;
Add 'Install MMCV_GPU' CI item to install mmcv-full in gpu environment;