forked from DeepLabCut/DeepLabCut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinference_cfg.yaml
40 lines (31 loc) · 1.39 KB
/
inference_cfg.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
37
38
39
40
# Hyperparameters for combinatorics code to assemble individuals.
# Mathis et al. xyz
variant: 0
##############################################################################
#### Assembly of PAFs to individuals
##############################################################################
# Filtering connections:
# Least strength of a paf cost (to be included in assembly)
pafthreshold: 0.1
method: 'm1'
# Assembly:
#least number of connections (to actually form an animal)
minimalnumberofconnections: willbeautomaticallyupdatedbycreate_training_datasetcode
#reasonable default: len(cfg['multianimalbodyparts'])/2
pcutoff: 0.1
# max. number of objects to keep:
topktoretain: willbeautomaticallyupdatedbycreate_training_datasetcode
#reasonable default: len(cfg['individuals'])+1*(len(cfg['uniquebodyparts'])>0)
# Also extract ID:
withid: False
##############################################################################
#### Tracker variables (should be crossvalidated)
##############################################################################
#p/m pixels in width and height for increasing bounding boxes.
boundingboxslack : 0
# Intersection over Union (IoU) threshold for linking two bounding boxes
iou_threshold: .6
# maximum duration of a lost tracklet before it's considered a "new animal" (in frames)
max_age: 1
# minimum number of consecutive frames before a detection is tracked
min_hits: 1