|
|
@ -10,9 +10,9 @@ jobs:
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
python-version: [3.8]
|
|
|
|
python-version: [3.8]
|
|
|
|
model: ['yolov5s', 'yolov5m', 'yolov5l', 'yolov5x'] # models to test
|
|
|
|
model: ['yolov5s'] # models to test
|
|
|
|
|
|
|
|
|
|
|
|
# Timeout: https://stackoverflow.com/a/59076067/4521646
|
|
|
|
# Timeout: https://stackoverflow.com/a/59076067/4521646
|
|
|
|
timeout-minutes: 50
|
|
|
|
timeout-minutes: 50
|
|
|
@ -41,7 +41,6 @@ jobs:
|
|
|
|
- name: Install dependencies
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
pip install -q numpy # for cocoapi proper install
|
|
|
|
|
|
|
|
pip install -qr requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
|
|
|
pip install -qr requirements.txt -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
|
|
|
pip install -q onnx
|
|
|
|
pip install -q onnx
|
|
|
|
python --version
|
|
|
|
python --version
|
|
|
|