Skip to content

Commit

Permalink
update yolov5 version to 6.0.1 in ci tests (#245)
Browse files Browse the repository at this point in the history
* update yolov5 version to 6.0.1 in ci tests

* update yolov5 version to 6.0.1 in package tests
  • Loading branch information
fcakyon committed Oct 19, 2021
1 parent 53c5d7c commit d25ee10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
if: matrix.operating-system == 'macos-latest'
run: pip install torch==1.8.1 torchvision==0.9.1

- name: Install MMDetection(2.16.0), YOLOv5(5.0.9) and Norfair(0.3.1)
- name: Install MMDetection(2.16.0), YOLOv5(6.0.1) and Norfair(0.3.1)
run: >
pip install mmcv-full==1.3.12 mmdet==2.16.0 yolov5==5.0.9 norfair==0.3.1
pip install mmcv-full==1.3.12 mmdet==2.16.0 yolov5==6.0.1 norfair==0.3.1
- name: Lint with flake8, black and isort
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
run: >
pip install -e .
- name: Test SAHI CLI for MMDetection(2.16.0), YOLOv5(5.0.9) and Norfair(0.3.1)
- name: Test SAHI CLI for MMDetection(2.16.0), YOLOv5(6.0.1) and Norfair(0.3.1)
run: |
# help
sahi --help
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ jobs:
if: matrix.operating-system == 'macos-latest'
run: pip install torch==1.8.1 torchvision==0.9.1

- name: Install MMDetection(2.16.0), YOLOv5(5.0.9) and Norfair(0.3.1)
- name: Install MMDetection(2.16.0), YOLOv5(6.0.1) and Norfair(0.3.1)
run: >
pip install mmcv-full==1.3.12 mmdet==2.16.0 yolov5==5.0.9 norfair==0.3.1
pip install mmcv-full==1.3.12 mmdet==2.16.0 yolov5==6.0.1 norfair==0.3.1
- name: Test with unittest
run: |
pip install pytest
python -m unittest
- name: Test SAHI CLI for MMDetection(2.16.0), YOLOv5(5.0.9) and Norfair(0.3.1)
- name: Test SAHI CLI for MMDetection(2.16.0), YOLOv5(6.0.1) and Norfair(0.3.1)
run: |
# predict mmdet
sahi predict --source tests/data/ --model_path tests/data/models/mmdet_retinanet/retinanet_r50_fpn_2x_coco_20200131-fdb43119.pth --model_config_path tests/data/models/mmdet_retinanet/retinanet_r50_fpn_1x_coco.py --image_size 320
Expand Down

0 comments on commit d25ee10

Please sign in to comment.