Jetson Docker fix `opencv-python>=4.5.0` (#3208)

single_channel
Glenn Jocher 1 year ago committed by GitHub
parent a5a34af2f4
commit d6e2ec1483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save