You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
metadata:
|
|
name: openvino-omz-intel-person-reidentification-retail-0300
|
|
namespace: cvat
|
|
annotations:
|
|
name: Person reidentification
|
|
type: reid
|
|
framework: openvino
|
|
spec:
|
|
|
|
spec:
|
|
description: Person reidentification model for a general scenario
|
|
runtime: 'python:3.6'
|
|
handler: main:handler
|
|
eventTimeout: 30s
|
|
env:
|
|
- name: NUCLIO_PYTHON_EXE_PATH
|
|
value: /opt/nuclio/common/openvino/python3
|
|
|
|
build:
|
|
image: cvat/openvino.omz.intel.person-reidentification-retail-0300
|
|
baseImage: openvino/ubuntu18_dev:2020.2
|
|
|
|
directives:
|
|
preCopy:
|
|
- kind: USER
|
|
value: root
|
|
- kind: WORKDIR
|
|
value: /opt/nuclio
|
|
- kind: RUN
|
|
value: ln -s /usr/bin/pip3 /usr/bin/pip
|
|
- kind: RUN
|
|
value: /opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name person-reidentification-retail-0300 -o /opt/nuclio/open_model_zoo
|
|
- kind: RUN
|
|
value: /opt/intel/openvino/deployment_tools/open_model_zoo/tools/downloader/converter.py --name person-reidentification-retail-0300 --precisions FP32 -d /opt/nuclio/open_model_zoo -o /opt/nuclio/open_model_zoo
|
|
|
|
triggers:
|
|
myHttpTrigger:
|
|
maxWorkers: 2
|
|
kind: 'http'
|
|
workerAvailabilityTimeoutMilliseconds: 10000
|
|
attributes:
|
|
maxRequestBodySize: 33554432 # 32MB
|
|
|
|
platform:
|
|
attributes:
|
|
restartPolicy:
|
|
name: always
|
|
maximumRetryCount: 3
|
|
mountMode: volume
|