|
61 | 61 | command: | |
62 | 62 | pip install git+https://github.com/open-mmlab/mmengine.git@main |
63 | 63 | pip install -U openmim |
64 | | - mim install 'mmcv>=2.0.0rc4' |
65 | | - pip install mmcls==1.0.0rc6 |
66 | | - pip install git+https://github.com/open-mmlab/mmdetection.git@main |
| 64 | + mim install mmcv>=2.0.0 |
| 65 | + pip install mmpretrain>=1.0.0rc7 |
| 66 | + pip install mmdet>=3.0.0 |
67 | 67 | pip install -r requirements/tests.txt -r requirements/optional.txt |
68 | 68 | python -m pip install albumentations>=0.3.2 --no-binary qudida,albumentations |
69 | 69 | - run: |
@@ -101,15 +101,15 @@ jobs: |
101 | 101 | name: Build Docker image |
102 | 102 | command: | |
103 | 103 | docker build .circleci/docker -t mmseg:gpu --build-arg PYTORCH=<< parameters.torch >> --build-arg CUDA=<< parameters.cuda >> --build-arg CUDNN=<< parameters.cudnn >> |
104 | | - docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmclassification:/mmclassification -v /home/circleci/mmdetection:/mmdetection -w /mmseg --name mmseg mmseg:gpu |
| 104 | + docker run --gpus all -t -d -v /home/circleci/project:/mmseg -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmpretrain:/mmpretrain -v /home/circleci/mmdetection:/mmdetection -w /mmseg --name mmseg mmseg:gpu |
105 | 105 | - run: |
106 | 106 | name: Install mmseg dependencies |
107 | 107 | command: | |
108 | 108 | docker exec mmseg pip install -e /mmengine |
109 | 109 | docker exec mmseg pip install -U openmim |
110 | | - docker exec mmseg mim install 'mmcv>=2.0.0rc4' |
111 | | - docker exec mmseg pip install mmcls==1.0.0rc6 |
112 | | - docker exec mmseg mim install mmdet==3.0.0 |
| 110 | + docker exec mmseg mim install mmcv>=2.0.0 |
| 111 | + docker exec mmseg pip install mmpretrain>=1.0.0rc7 |
| 112 | + docker exec mmseg mim install mmdet>=3.0.0 |
113 | 113 | docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt |
114 | 114 | docker exec mmseg python -m pip install albumentations>=0.3.2 --no-binary qudida,albumentations |
115 | 115 | - run: |
@@ -145,8 +145,8 @@ workflows: |
145 | 145 | - main |
146 | 146 | - build_cpu: |
147 | 147 | name: minimum_version_cpu |
148 | | - torch: 1.6.0 |
149 | | - torchvision: 0.7.0 |
| 148 | + torch: 1.8.1 |
| 149 | + torchvision: 0.9.1 |
150 | 150 | python: "3.7" |
151 | 151 | requires: |
152 | 152 | - lint |
@@ -177,7 +177,7 @@ workflows: |
177 | 177 | jobs: |
178 | 178 | - build_cuda: |
179 | 179 | name: minimum_version_gpu |
180 | | - torch: 1.6.0 |
| 180 | + torch: 1.8.1 |
181 | 181 | # Use double quotation mark to explicitly specify its type |
182 | 182 | # as string instead of number |
183 | 183 | cuda: "10.1" |
|
0 commit comments