Skip to content

Commit

Permalink
[CI] Fix CI for timm, pycocotools, onnx (open-mmlab#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 and SakiRinn committed Mar 17, 2023
1 parent 54294e0 commit 9f6031a
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 9f6031a

Please sign in to comment.