@@ -129,9 +129,6 @@ jobs:
129
129
if : ${{matrix.torchvision < 0.5}}
130
130
- name : Install PyTorch
131
131
run : python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
132
- - name : Install dependencies for compiling onnx when python=3.9
133
- run : python -m pip install protobuf && apt-get install libprotobuf-dev protobuf-compiler
134
- if : ${{matrix.python-version == '3.9'}}
135
132
- name : Install mmseg dependencies
136
133
run : |
137
134
python -V
@@ -164,7 +161,7 @@ jobs:
164
161
165
162
strategy :
166
163
matrix :
167
- python-version : [3.6, 3.7, 3.8, 3.9-dev ]
164
+ python-version : [3.6, 3.7, 3.8, 3.9]
168
165
torch : [1.9.0+cu102]
169
166
include :
170
167
- torch : 1.9.0+cu102
@@ -178,9 +175,6 @@ jobs:
178
175
uses : actions/setup-python@v2
179
176
with :
180
177
python-version : ${{ matrix.python-version }}
181
- - name : Install python-dev
182
- run : apt-get update && apt-get install -y python${{matrix.python-version}}-dev
183
- if : ${{matrix.python-version != '3.9-dev'}}
184
178
- name : Install system dependencies
185
179
run : |
186
180
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
@@ -191,14 +185,10 @@ jobs:
191
185
if : ${{matrix.torchvision < 0.5}}
192
186
- name : Install PyTorch
193
187
run : python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
194
- - name : Install dependencies for compiling onnx when python=3.9
195
- run : python -m pip install protobuf && apt-get update && apt-get -y install libprotobuf-dev protobuf-compiler cmake
196
- if : ${{matrix.python-version == '3.9-dev'}}
197
188
- name : Install mmseg dependencies
198
189
run : |
199
190
python -V
200
191
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.mmcv_link}}/index.html
201
- python -m pip install pycocotools
202
192
python -m pip install -r requirements.txt
203
193
python -c 'import mmcv; print(mmcv.__version__)'
204
194
- name : Build and install
0 commit comments