Add output structure
Browse files
README.md
CHANGED
|
@@ -33,6 +33,48 @@ Your metric should have the following structure:
|
|
| 33 |
- ```compute_from_payload(paylaod)```
|
| 34 |
- Call the ```module.compute``` method internally after converting payload -> references, predictions
|
| 35 |
- All the metric's parameters, such as iou_threshold, area_ranges, etc.. should be moved to the ```__init__``` method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
</details>
|
| 38 |
|
|
|
|
| 33 |
- ```compute_from_payload(paylaod)```
|
| 34 |
- Call the ```module.compute``` method internally after converting payload -> references, predictions
|
| 35 |
- All the metric's parameters, such as iou_threshold, area_ranges, etc.. should be moved to the ```__init__``` method.
|
| 36 |
+
- Output should look like this:
|
| 37 |
+
```json
|
| 38 |
+
{
|
| 39 |
+
"ahoy_IR_b2_engine_3_6_0_49_gd81d3b63_oversea": {
|
| 40 |
+
"overall": {
|
| 41 |
+
"all": {
|
| 42 |
+
"f1": 0.15967351103175614,
|
| 43 |
+
"fn": 2923.0,
|
| 44 |
+
"fp": 3666.0,
|
| 45 |
+
"num_gt_ids": 10,
|
| 46 |
+
"precision": 0.14585274930102515,
|
| 47 |
+
"recall": 0.1763877148492533,
|
| 48 |
+
"recognition_0.3": 0.1,
|
| 49 |
+
"recognition_0.5": 0.1,
|
| 50 |
+
"recognition_0.8": 0.1,
|
| 51 |
+
"recognized_0.3": 1,
|
| 52 |
+
"recognized_0.5": 1,
|
| 53 |
+
"recognized_0.8": 1,
|
| 54 |
+
"tp": 626.0
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
"per_sequence": {
|
| 58 |
+
"Sentry_2023_02_08_PROACT_CELADON_@6m_MOB_2023_02_08_12_51_49": {
|
| 59 |
+
"all": {
|
| 60 |
+
"f1": 0.15967351103175614,
|
| 61 |
+
"fn": 2923.0,
|
| 62 |
+
"fp": 3666.0,
|
| 63 |
+
"num_gt_ids": 10,
|
| 64 |
+
"precision": 0.14585274930102515,
|
| 65 |
+
"recall": 0.1763877148492533,
|
| 66 |
+
"recognition_0.3": 0.1,
|
| 67 |
+
"recognition_0.5": 0.1,
|
| 68 |
+
"recognition_0.8": 0.1,
|
| 69 |
+
"recognized_0.3": 1,
|
| 70 |
+
"recognized_0.5": 1,
|
| 71 |
+
"recognized_0.8": 1,
|
| 72 |
+
"tp": 626.0
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
}```
|
| 78 |
|
| 79 |
</details>
|
| 80 |
|