Skip to content

Commit

Permalink
update package versions in ci (#439)
Browse files Browse the repository at this point in the history
* update package versions in ci

* Update ci.yml

update pycocotools to v2.0.4 in ci

* update mmcv and mmdet versions in ci

* update versions in package testing ci
  • Loading branch information
fcakyon authored Apr 9, 2022
1 parent af09d29 commit d58f610
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,26 +77,26 @@ jobs:
if: matrix.operating-system == 'macos-latest'
run: pip install torch==1.10.2 torchvision==0.11.3

- name: Install MMDetection(2.21.0) with MMCV(1.4.4)
- name: Install MMDetection(2.23.0) with MMCV(1.4.8)
run: >
pip install mmcv-full==1.4.4 -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
pip install mmdet==2.21.0
pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
pip install mmdet==2.23.0
- name: Install YOLOv5(6.0.6) and Norfair(0.4.0)
- name: Install YOLOv5(6.1.0) and Norfair(0.4.0)
run: >
pip install yolov5==6.0.6 norfair==0.4.0
pip install yolov5==6.1.0 norfair==0.4.0
- name: Install Detectron2(0.6)
run: >
python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.10/index.html
- name: Unittest for SAHI+YOLOV5/MMDET/Detectron2 on all platforms
run: |
python -m unittest
- name: Install pycocotools(2.0.3)
- name: Install pycocotools(2.0.4)
run: >
pip install pycocotools==2.0.3
pip install pycocotools==2.0.4
- name: Install SAHI package from local setup.py
run: >
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/package_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,29 @@ jobs:
matrix.operating-system == 'ubuntu-latest' ||
matrix.operating-system == 'windows-latest'
run: >
pip install torch==1.10.0+cpu torchvision==0.11.1+cpu
pip install torch==1.10.2+cpu torchvision==0.11.3+cpu
-f https://download.pytorch.org/whl/torch_stable.html
- name: Install PyTorch on MacOS
if: matrix.operating-system == 'macos-latest'
run: pip install torch==1.10.2 torchvision==0.11.3

- name: Install MMDetection(2.21.0) with MMCV(1.4.4)
- name: Install MMDetection(2.23.0) with MMCV(1.4.8)
run: >
pip install mmcv-full==1.4.4 -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
pip install mmdet==2.21.0
pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
pip install mmdet==2.23.0
- name: Install YOLOv5(6.0.6) and Norfair(0.4.0)
- name: Install YOLOv5(6.1.0) and Norfair(0.4.0)
run: >
pip install yolov5==6.0.6 norfair==0.4.0
pip install yolov5==6.1.0 norfair==0.4.0
- name: Install Detectron2(0.6)
run: >
python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.10/index.html
- name: Install pycocotools(2.0.3)
- name: Install pycocotools(2.0.4)
run: >
pip install pycocotools==2.0.3
pip install pycocotools==2.0.4
- name: Install latest SAHI package
run: >
Expand Down

0 comments on commit d58f610

Please sign in to comment.