-
Notifications
You must be signed in to change notification settings - Fork 7
/
magic.json
99 lines (93 loc) · 8.19 KB
/
magic.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
// this is a test file
"author" : "virginie",
"date" : "19-nov-2015",
"settings" : {
// we want to learn one weight per feature and state, and not just per feature
"statesShareWeights" : false,
// we want to get informed about all the nasty details
"optimizerVerbose" : true,
// solve to high precision, but do not enforce global optimality (which would be 0.0)
"optimizerEpGap" : 0.05
},
// in square brackets is a list
"segmentationHypotheses" : [
{
"id" : "1", // globally unique detection id
"features" : [[0.053649107483225, 100.982, 108.904], [0.053649107483225, 100.982, 108.904]], // a list of features per state - so this detection has two states (used or not), and three features each
"divisionFeatures" : [[1.5], [1.5]], // list of division features for [not dividing, dividing]
"appearanceFeatures" : [[0], [0]] // list of appearance features for [not appearing, appearing]
// we duplicated the features here excplicitly, because by saying statesShareWeights=false we are learning different weights for state "on" and "off"
},
{ "id" : "2", "features" : [[0.06847623060458811, 78.774, 108.462], [0.06847623060458811, 78.774, 108.462]], "divisionFeatures" : [[0.2], [0.2]], "appearanceFeatures" : [[0], [0]]},
{ "id" : "21", "features" : [[0.059754965446018805, 166.035, 215.028], [0.059754965446018805, 166.035, 215.028]], "divisionFeatures" : [[1], [1]]},
{ "id" : "3", "features" : [[0.058595771764307185, 56.787, 60.745], [0.058595771764307185, 56.787, 60.745]], "divisionFeatures" : [[1.4], [1.4]]},
{ "id" : "4", "features" : [[0.06666401060413317, 19.310, 20.125], [0.06666401060413317, 19.310, 20.125]], "divisionFeatures" : [[0.7], [0.7]]},
{ "id" : "5", "features" : [[0.05906063000102768, 83.938, 81.394], [0.05906063000102768, 83.938, 81.394]], "divisionFeatures" : [[0.2], [0.2]]},
{ "id" : "45", "features" : [[0.06269096763756367, 96.098, 90.355], [0.06269096763756367, 96.098, 90.355]], "divisionFeatures" : [[1.1], [1.1]]},
{ "id" : "6", "features" : [[0.042083305970947116, 50.890, 49.244], [0.042083305970947116, 50.890, 49.244]], "disappearanceFeatures" : [[0.2], [0.2]]},
{ "id" : "7", "features" : [[0.041147859080963765, 74.757, 78.313], [0.041147859080963765, 74.757, 78.313]], "disappearanceFeatures" : [[0.2], [0.2]]},
{ "id" : "8", "features" : [[0.046878268130962596, 129.865, 123.491], [0.046878268130962596, 129.865, 123.491]], "disappearanceFeatures" : [[0.2], [0.2]]},
{ "id" : "9", "features" : [[0.04561690331310423, 40.474, 51.662], [0.04561690331310423, 40.474, 51.662]], "disappearanceFeatures" : [[0.2], [0.2]]},
{ "id" : "10", "features" : [[0.0745667788136819, 91.536, 121.499], [0.0745667788136819, 91.536, 121.499]], "disappearanceFeatures" : [[1.0], [1.0]]},
{ "id" : "11", "features" : [[0.0745667788136819, 37.234, 41.593], [0.0745667788136819, 37.234, 41.593]], "disappearanceFeatures" : [[1.0], [1.0]]},
{ "id" : "12", "features" : [[0.03728347475085034, 38.915, 46.530], [0.03728347475085034, 38.915, 46.530]], "disappearanceFeatures" : [[1.0], [1.0]]},
{ "id" : "13", "features" : [[0.04616574189480179, 100.054, 133.454], [0.04616574189480179, 100.054, 133.454]], "disappearanceFeatures" : [[1.0], [1.0]]}
],
// links
"linkingHypotheses" : [
{ "src" : "1", "dest" : "3", "features" : [[75.05303502, 2.053977273, 60], [75.05303502, 2.053977273, 60]]},
{ "src" : "1", "dest" : "4", "features" : [[44.8232819, 6.398230088, 330], [44.8232819, 6.398230088, 330]]},
{ "src" : "1", "dest" : "5", "features" : [[141.5467388, 1.183306056, 150], [141.5467388, 1.183306056, 150]]},
{ "src" : "1", "dest" : "45", "features" : [[39.89739291, 0.847596717, 70], [39.89739291, 0.847596717, 70]]},
{ "src" : "2", "dest" : "3", "features" : [[46.61411416, 2.244318182, 70], [46.61411416, 2.244318182, 70]]},
{ "src" : "2", "dest" : "4", "features" : [[76.04560544, 6.991150442, 320], [76.04560544, 6.991150442, 320]]},
{ "src" : "2", "dest" : "5", "features" : [[23.28066687, 1.292962357, 140], [23.28066687, 1.292962357, 140]]},
{ "src" : "2", "dest" : "45", "features" : [[160.1931775, 0.926143025, 80], [160.1931775, 0.926143025, 80]]},
{ "src" : "21", "dest" : "3", "features" : [[20.04413915, 6.159090909, 470], [20.04413915, 6.159090909, 470]]},
{ "src" : "21", "dest" : "4", "features" : [[13.36331041, 19.18584071, 860], [13.36331041, 19.18584071, 860]]},
{ "src" : "21", "dest" : "5", "features" : [[83.38350178, 3.548281506, 680], [83.38350178, 3.548281506, 680]]},
{ "src" : "21", "dest" : "45", "features" : [[97.92883494, 2.541617819, 460], [97.92883494, 2.541617819, 460]]},
{ "src" : "3", "dest" : "6", "features" : [[44.75354646, 0.8, 160], [44.75354646, 0.8, 160]]},
{ "src" : "3", "dest" : "7", "features" : [[98.31816722, 0.65917603, 360], [98.31816722, 0.65917603, 360]]},
{ "src" : "3", "dest" : "8", "features" : [[78.43326866, 0.292845258, 300], [78.43326866, 0.292845258, 300]]},
{ "src" : "3", "dest" : "9", "features" : [[2.662042016, 1.348659004, 200], [2.662042016, 1.348659004, 200]]},
{ "src" : "3", "dest" : "10", "features" : [[30.59075651, 0.292116183, 390], [30.59075651, 0.292116183, 390]]},
{ "src" : "3", "dest" : "11", "features" : [[48.14009613, 1.146579805, 390], [48.14009613, 1.146579805, 390]]},
{ "src" : "3", "dest" : "12", "features" : [[44.35314708, 0.852300242, 500], [44.35314708, 0.852300242, 500]]},
{ "src" : "3", "dest" : "13", "features" : [[41.11669592, 0.251249108, 60], [41.11669592, 0.251249108, 60]]},
{ "src" : "4", "dest" : "6", "features" : [[17.3818472, 0.256818182, 230], [17.3818472, 0.256818182, 230]]},
{ "src" : "4", "dest" : "7", "features" : [[68.7262496, 0.211610487, 30], [68.7262496, 0.211610487, 30]]},
{ "src" : "4", "dest" : "8", "features" : [[48.54687814, 0.094009983, 90], [48.54687814, 0.094009983, 90]]},
{ "src" : "4", "dest" : "9", "features" : [[30.22860797, 0.432950192, 190], [30.22860797, 0.432950192, 190]]},
{ "src" : "4", "dest" : "10", "features" : [[59.29101184, 0.093775934, 0], [59.29101184, 0.093775934, 0]]},
{ "src" : "4", "dest" : "11", "features" : [[17.35928342, 0.368078176, 0], [17.35928342, 0.368078176, 0]]},
{ "src" : "4", "dest" : "12", "features" : [[14.92237531, 0.273607748, 110], [14.92237531, 0.273607748, 110]]},
{ "src" : "4", "dest" : "13", "features" : [[70.21164855, 0.080656674, 450], [70.21164855, 0.080656674, 450]]},
{ "src" : "5", "dest" : "6", "features" : [[112.582504, 1.388636364, 50], [112.582504, 1.388636364, 50]]},
{ "src" : "5", "dest" : "7", "features" : [[165.4663778, 1.144194757, 150], [165.4663778, 1.144194757, 150]]},
{ "src" : "5", "dest" : "8", "features" : [[145.2908749, 0.508319468, 90], [145.2908749, 0.508319468, 90]]},
{ "src" : "5", "dest" : "9", "features" : [[71.31899363, 2.340996169, 10], [71.31899363, 2.340996169, 10]]},
{ "src" : "5", "dest" : "10", "features" : [[38.34228336, 0.507053942, 180], [38.34228336, 0.507053942, 180]]},
{ "src" : "5", "dest" : "11", "features" : [[114.0837665, 1.990228013, 180], [114.0837665, 1.990228013, 180]]},
{ "src" : "5", "dest" : "12", "features" : [[111.3112907, 1.479418886, 290], [111.3112907, 1.479418886, 290]]},
{ "src" : "5", "dest" : "13", "features" : [[28.03481222, 0.436117059, 270], [28.03481222, 0.436117059, 270]]},
{ "src" : "45", "dest" : "6", "features" : [[69.23658978, 1.938636364, 170], [69.23658978, 1.938636364, 170]]},
{ "src" : "45", "dest" : "7", "features" : [[15.84547711, 1.597378277, 370], [15.84547711, 1.597378277, 370]]},
{ "src" : "45", "dest" : "8", "features" : [[36.03306537, 0.709650582, 310], [36.03306537, 0.709650582, 310]]},
{ "src" : "45", "dest" : "9", "features" : [[112.0281806, 3.268199234, 210], [112.0281806, 3.268199234, 210]]},
{ "src" : "45", "dest" : "10", "features" : [[143.5682646, 0.707883817, 400], [143.5682646, 0.707883817, 400]]},
{ "src" : "45", "dest" : "11", "features" : [[67.26299657, 2.778501629, 400], [67.26299657, 2.778501629, 400]]},
{ "src" : "45", "dest" : "12", "features" : [[70.05765035, 2.065375303, 510], [70.05765035, 2.065375303, 510]]},
{ "src" : "45", "dest" : "13", "features" : [[154.4525892, 0.608850821, 50], [154.4525892, 0.608850821, 50]]}
],
// list of lists defining exclusion sets
"exclusions" : [
["1", "21"],
["2", "21"],
["45", "4"],
["45", "5"],
["13", "9"],
["13", "8"]
]
}