Skip to content

Commit

Permalink
[CI] Fix CI for timm, pycocotools, onnx (#9034)
Browse files Browse the repository at this point in the history
* Fix CI by removing timm that requires torch>=1.7

* Fix CI for pycocotools and onnx
  • Loading branch information
shinya7y authored Oct 18, 2022
1 parent a502d8f commit ea2c599
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ jobs:
- name: Install mmdet dependencies
run: |
python -V
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
export CXXFLAGS="${CFLAGS}"
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.mmcv}}/index.html
python -m pip install pycocotools
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down Expand Up @@ -206,6 +208,8 @@ jobs:
- name: Install mmdet dependencies
run: |
python -V
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
export CXXFLAGS="${CFLAGS}"
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html
python -m pip install pycocotools
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down
1 change: 0 additions & 1 deletion requirements/optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ cityscapesscripts
imagecorruptions
scipy
sklearn
timm

0 comments on commit ea2c599

Please sign in to comment.