@@ -27,26 +27,23 @@ jobs:
27
27
strategy :
28
28
matrix :
29
29
python-version : [3.7]
30
- torch : [1.3.1, 1. 5.1, 1.6.0, 1.7.0, 1.8.0, 1.9.0]
30
+ torch : [1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.9.0]
31
31
include :
32
- - torch : 1.3.1
33
- torchvision : 0.4.2
34
- mmcv : " latest+torch1.3.0+cpu"
35
32
- torch : 1.5.1
36
33
torchvision : 0.6.1
37
- mmcv : " latest+torch1 .5.0+cpu "
34
+ mmcv : 1 .5.0
38
35
- torch : 1.6.0
39
36
torchvision : 0.7.0
40
- mmcv : " latest+torch1 .6.0+cpu "
37
+ mmcv : 1 .6.0
41
38
- torch : 1.7.0
42
39
torchvision : 0.8.1
43
- mmcv : " latest+torch1 .7.0+cpu "
40
+ mmcv : 1 .7.0
44
41
- torch : 1.8.0
45
42
torchvision : 0.9.0
46
- mmcv : " latest+torch1 .8.0+cpu "
43
+ mmcv : 1 .8.0
47
44
- torch : 1.9.0
48
45
torchvision : 0.10.0
49
- mmcv : " latest+torch1 .9.0+cpu "
46
+ mmcv : 1 .9.0
50
47
steps :
51
48
- uses : actions/checkout@v2
52
49
- name : Set up Python ${{ matrix.python-version }}
60
57
run : pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
61
58
- name : Install MMCV
62
59
run : |
63
- pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch${{matrix.torch }}/index.html
60
+ pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch${{matrix.mmcv }}/index.html
64
61
python -c 'import mmcv; print(mmcv.__version__)'
65
62
- name : Install unittest dependencies
66
63
run : |
@@ -85,33 +82,28 @@ jobs:
85
82
python-version : [3.7]
86
83
torch :
87
84
[
88
- 1.3.1,
89
85
1.5.1+cu101,
90
86
1.6.0+cu101,
91
87
1.7.0+cu101,
92
88
1.8.0+cu101,
93
89
]
94
90
include :
95
- - torch : 1.3.1
96
- torch_version : torch1.3.1
97
- torchvision : 0.4.2
98
- mmcv_link : " torch1.3.0"
99
91
- torch : 1.5.1+cu101
100
92
torch_version : torch1.5.1
101
93
torchvision : 0.6.1+cu101
102
- mmcv_link : " torch1 .5.0"
94
+ mmcv : 1 .5.0
103
95
- torch : 1.6.0+cu101
104
96
torch_version : torch1.6.0
105
97
torchvision : 0.7.0+cu101
106
- mmcv_link : " torch1 .6.0"
98
+ mmcv : 1 .6.0
107
99
- torch : 1.7.0+cu101
108
100
torch_version : torch1.7.0
109
101
torchvision : 0.8.1+cu101
110
- mmcv_link : " torch1 .7.0"
102
+ mmcv : 1 .7.0
111
103
- torch : 1.8.0+cu101
112
104
torch_version : torch1.8.0
113
105
torchvision : 0.9.0+cu101
114
- mmcv_link : " torch1 .8.0"
106
+ mmcv : 1 .8.0
115
107
116
108
steps :
117
109
- uses : actions/checkout@v2
@@ -135,7 +127,7 @@ jobs:
135
127
- name : Install mmdet dependencies
136
128
run : |
137
129
python -V
138
- python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.mmcv_link }}/index.html
130
+ python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch ${{matrix.mmcv }}/index.html
139
131
python -m pip install pycocotools
140
132
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
141
133
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
@@ -173,7 +165,7 @@ jobs:
173
165
- torch : 1.9.0+cu102
174
166
torch_version : torch1.9.0
175
167
torchvision : 0.10.0+cu102
176
- mmcv_link : " torch1 .9.0"
168
+ mmcv : 1 .9.0
177
169
178
170
steps :
179
171
- uses : actions/checkout@v2
@@ -208,7 +200,7 @@ jobs:
208
200
- name : Install mmdet dependencies
209
201
run : |
210
202
python -V
211
- python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.mmcv_link }}/index.html
203
+ python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch ${{matrix.mmcv }}/index.html
212
204
python -m pip install pycocotools
213
205
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
214
206
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
0 commit comments