First Commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user