forked from DeepLabCut/DeepLabCut
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinference_cfg.yaml
More file actions
56 lines (44 loc) · 1.99 KB
/
inference_cfg.yaml
File metadata and controls
56 lines (44 loc) · 1.99 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
# Hyperparameters for combinatorics code to assemble individuals.
# Mathis et al. xyz
variant: 0
##############################################################################
#### Assembly of PAFs to individuals (should be crossvalidated)
#### Happens in evaluation step.
##############################################################################
# Filtering bodyparts:
# Least strength of a bodypart detection (to be included in assembly)
detectionthresholdsquare: 0.1
# Filtering connections:
# Least strength of a paf cost (to be included in assembly)
pafthreshold: 0.1
# before assembly exclude all bpts more apart than:
distnormalization: 1000
# and closer than:
distnormalizationLOWER: 0
#For edgewisecondition (slack variables)
upperbound_factor: 1.25 # edges that are > upperbound_factor * maximum edge length
lowerbound_factor: .5 # edges that are < lowerbound_factor * minimum edge length
# weighing an edge by paf costs + addlikelihoods*geometric mean of detection likelihood
addlikelihoods: .15
method: 'm1'
# Assembly:
#least number of connections (to actually form an animal)
minimalnumberofconnections: willbeautomaticallyupdatedbycreate_training_datasetcode
#reasonable default: len(cfg['multianimalbodyparts'])/2
# Least average score (average over paf costs of all edges)
averagescore: 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 #TODO: set automatically (if >0 id channels!)
##############################################################################
#### 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: .2
# maximum duration of a tracklet and length
max_age: 100
min_hits: 3