forked from cvat-ai/cvat
-
Notifications
You must be signed in to change notification settings - Fork 2
/
function.yaml
36 lines (32 loc) · 952 Bytes
/
function.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
metadata:
name: openvino-dextr
namespace: cvat
annotations:
name: DEXTR
version: 2
type: interactor
spec:
min_pos_points: 4
animated_gif: https://raw.githubusercontent.com/opencv/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/dextr_example.gif
help_message: The interactor allows to get a mask of an object using its extreme points (more or equal than 4). You can add a point left-clicking the image
spec:
description: Deep Extreme Cut
runtime: 'python:3.8'
handler: main:handler
eventTimeout: 30s
build:
image: cvat.openvino.dextr
baseImage: cvat.openvino.dextr.base
triggers:
myHttpTrigger:
maxWorkers: 2
kind: 'http'
workerAvailabilityTimeoutMilliseconds: 10000
attributes:
maxRequestBodySize: 33554432 # 32MB
platform:
attributes:
restartPolicy:
name: always
maximumRetryCount: 3
mountMode: volume