forked from insight-platform/Savant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.yml
More file actions
65 lines (58 loc) · 1.88 KB
/
module.yml
File metadata and controls
65 lines (58 loc) · 1.88 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: area-object-counting
parameters:
sidebar_width: 296
frame:
width: 1280
height: 720
padding:
keep: true
left: 0
right: ${parameters.sidebar_width}
top: 0
bottom: 0
geometry_base: 4
output_frame:
codec: ${oc.env:CODEC, 'h264'}
draw_func:
module: samples.area_object_counting.overlay
class_name: Overlay
kwargs:
config_path: ${oc.env:PROJECT_PATH}/samples/area_object_counting/area_config.yml
sidebar_width: ${parameters.sidebar_width}
target_obj_label: ${parameters.detected_object.label}
detected_object:
id: 0
label: person
pipeline:
elements:
- element: pyfunc
module: samples.area_object_counting.object_counting
class_name: ConditionalDetectorSkip
kwargs:
config_path: ${oc.env:PROJECT_PATH}/samples/area_object_counting/area_config.yml
- element: nvinfer@detector
name: peoplenet
model:
format: etlt
remote:
url: s3://savant-data/models/peoplenet/peoplenet_pruned_v2.0.zip
checksum_url: s3://savant-data/models/peoplenet/peoplenet_pruned_v2.0.md5
parameters:
endpoint: https://eu-central-1.linodeobjects.com
model_file: resnet34_peoplenet_pruned.etlt
input:
layer_name: input_1
shape: [3, 544, 960]
scale_factor: 0.0039215697906911373
output:
layer_names: [output_bbox/BiasAdd, output_cov/Sigmoid]
num_detected_classes: 3
objects:
- class_id: ${parameters.detected_object.id}
label: ${parameters.detected_object.label}
- element: pyfunc
module: samples.area_object_counting.object_counting
class_name: ObjectCounting
kwargs:
config_path: ${oc.env:PROJECT_PATH}/samples/area_object_counting/area_config.yml
target_obj_label: ${parameters.detected_object.label}