6060 run :
pip install git+https://github.com/open-mmlab/[email protected] 6161 - name : Install MMCls
6262 run :
pip install git+https://github.com/open-mmlab/[email protected] 63+ - name : Install MMPose
64+ run :
pip install git+https://github.com/open-mmlab/[email protected] 6365 - name : Install PytorchVideo
6466 run : pip install pytorchvideo
6567 if : ${{matrix.torchvision == '0.10.0'}}
7880 strategy :
7981 matrix :
8082 python-version : [3.7]
81- torch : [1.6.0, 1.7.1, 1. 8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1]
83+ torch : [1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1]
8284 include :
83- - torch : 1.6.0
84- torchvision : 0.7.0
85- - torch : 1.7.1
86- torchvision : 0.8.2
8785 - torch : 1.8.1
8886 torchvision : 0.9.1
8987 - torch : 1.9.1
@@ -108,12 +106,8 @@ jobs:
108106 run : pip install librosa soundfile
109107 - name : Install lmdb
110108 run : pip install lmdb
111- - name : Install timm
112- run : pip install timm==0.6.7
113- if : ${{matrix.torch == '1.6.0'}}
114109 - name : Install timm
115110 run : pip install timm
116- if : ${{matrix.torch != '1.6.0'}}
117111 - name : Install TurboJpeg lib
118112 run : sudo apt-get install -y libturbojpeg
119113 - name : Install PyTorch
@@ -128,6 +122,8 @@ jobs:
128122 run :
pip install git+https://github.com/open-mmlab/[email protected] 129123 - name : Install MMCls
130124 run :
pip install git+https://github.com/open-mmlab/[email protected] 125+ - name : Install MMPose
126+ run :
pip install git+https://github.com/open-mmlab/[email protected] 131127 - name : Install unittest dependencies
132128 run : pip install -r requirements.txt
133129 - name : Install PytorchVideo
@@ -190,6 +186,7 @@ jobs:
190186 mim install 'mmcv >= 2.0.0'
191187 pip install git+https://github.com/open-mmlab/[email protected] 192188 pip install git+https://github.com/open-mmlab/[email protected] 189+ pip install git+https://github.com/open-mmlab/[email protected] 193190 pip install -r requirements.txt
194191 - name : Install PytorchVideo
195192 run : pip install pytorchvideo
@@ -214,7 +211,10 @@ jobs:
214211 with :
215212 python-version : ${{ matrix.python }}
216213 - name : Upgrade pip
217- run : pip install pip --upgrade
214+ run : |
215+ python -V
216+ python -m pip install pip --upgrade
217+ python -m pip install wheel
218218 - name : Install librosa and soundfile
219219 run : python -m pip install librosa soundfile
220220 - name : Install lmdb
@@ -228,14 +228,15 @@ jobs:
228228 mim install 'mmcv >= 2.0.0'
229229 pip install git+https://github.com/open-mmlab/[email protected] 230230 pip install git+https://github.com/open-mmlab/[email protected] 231+ pip install git+https://github.com/open-mmlab/[email protected] 231232 pip install -r requirements.txt
232233 - name : Install PytorchVideo
233234 run : python -m pip install pytorchvideo
234235 - name : Install timm
235236 run : python -m pip install timm
236237 - name : Build and install
237238 run : |
238- pip install -e .
239+ pip install -e . -v
239240 - name : Run unittests and generate coverage report
240241 run : |
241242 pytest tests/
0 commit comments