First Commit

This commit is contained in:
2026-02-09 10:07:56 +07:00
parent 93c695d283
commit 31ce985bf2
2 changed files with 418 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
# To build the function you need to adjust docker settings. Be sure that you
# have enough memory (more than 4GB). Look here how to do that
# https://stackoverflow.com/questions/44417159/docker-process-killed-with-cryptic-killed-message
metadata:
name: openvino-yolov9-karung
namespace: cvat
annotations:
name: Yolov9 Karung Model
type: detector
spec: |
[
{ "id": 0, "name": "karung"}
]
spec:
description: Detect Karung via Intel OpenVINO with Yolov9
runtime: 'python:3.10'
handler: main:handler
eventTimeout: 60s
build:
baseImage: cvat.nuclio.base
triggers:
myHttpTrigger:
numWorkers: 2
kind: 'http'
workerAvailabilityTimeoutMilliseconds: 10000
attributes:
maxRequestBodySize: 33554432 # 32MB
platform:
attributes:
restartPolicy:
name: always
maximumRetryCount: 3
mountMode: volume
volumes:
- volumeMount:
name: nuclio
mountPath: /opt/nuclio/output
readOnly: false
volume:
name: nuclio
hostPath:
path: /tmp/nuclio