mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-24 06:14:55 +08:00
Jetson Docker fix opencv-python>=4.5.0
(#3208)
This commit is contained in:
parent
a5a34af2f4
commit
d6e2ec1483
14
.github/workflows/docker.yaml
vendored
14
.github/workflows/docker.yaml
vendored
@ -6,6 +6,16 @@ name: Publish Docker Images
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
image:
|
||||||
|
type: choice
|
||||||
|
description: Select Docker Image
|
||||||
|
options:
|
||||||
|
- Arm64
|
||||||
|
- Jetson
|
||||||
|
- CPU
|
||||||
|
- GPU
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@ -29,6 +39,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push arm64 image
|
- name: Build and push arm64 image
|
||||||
|
if: github.event_name == 'push' || github.event.inputs.image == 'Arm64'
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
@ -39,6 +50,7 @@ jobs:
|
|||||||
tags: ultralytics/ultralytics:latest-arm64
|
tags: ultralytics/ultralytics:latest-arm64
|
||||||
|
|
||||||
- name: Build and push Jetson image
|
- name: Build and push Jetson image
|
||||||
|
if: github.event_name == 'push' || github.event.inputs.image == 'Jetson'
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
@ -49,6 +61,7 @@ jobs:
|
|||||||
tags: ultralytics/ultralytics:latest-jetson
|
tags: ultralytics/ultralytics:latest-jetson
|
||||||
|
|
||||||
- name: Build and push CPU image
|
- name: Build and push CPU image
|
||||||
|
if: github.event_name == 'push' || github.event.inputs.image == 'CPU'
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
@ -58,6 +71,7 @@ jobs:
|
|||||||
tags: ultralytics/ultralytics:latest-cpu
|
tags: ultralytics/ultralytics:latest-cpu
|
||||||
|
|
||||||
- name: Build and push GPU image
|
- name: Build and push GPU image
|
||||||
|
if: github.event_name == 'push' || github.event.inputs.image == 'GPU'
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# Base ----------------------------------------
|
# Base ----------------------------------------
|
||||||
matplotlib>=3.2.2
|
matplotlib>=3.2.2
|
||||||
opencv-python>=4.6.0
|
opencv-python>=4.5.0 # <=4.5.0 required for Jetson Docker https://github.com/ultralytics/ultralytics/issues/3183
|
||||||
Pillow>=7.1.2
|
Pillow>=7.1.2
|
||||||
PyYAML>=5.3.1
|
PyYAML>=5.3.1
|
||||||
requests>=2.23.0
|
requests>=2.23.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user