Spaces:
Sleeping
Sleeping
hichem-abdellali
commited on
Commit
•
0175937
1
Parent(s):
fa350f6
using the renamed user friendly metrics
Browse files- user-friendly-metrics.py +13 -9
user-friendly-metrics.py
CHANGED
@@ -135,22 +135,26 @@ class UserFriendlyMetrics(evaluate.Metric):
|
|
135 |
)
|
136 |
|
137 |
categories = {
|
138 |
-
"
|
|
|
|
|
|
|
|
|
|
|
139 |
"f1",
|
140 |
"recall",
|
141 |
"precision",
|
142 |
-
"recognition_0.3",
|
143 |
-
"recognition_0.5",
|
144 |
-
"recognition_0.8",
|
145 |
},
|
146 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
"fp",
|
148 |
"tp",
|
149 |
"fn",
|
150 |
-
"recognized_0.3",
|
151 |
-
"recognized_0.5",
|
152 |
-
"recognized_0.8",
|
153 |
-
"num_gt_ids",
|
154 |
},
|
155 |
}
|
156 |
|
|
|
135 |
)
|
136 |
|
137 |
categories = {
|
138 |
+
"user_friendly_metrics": {
|
139 |
+
"mostly_tracked_score_0.3",
|
140 |
+
"mostly_tracked_score_0.5",
|
141 |
+
"mostly_tracked_score_0.8",
|
142 |
+
},
|
143 |
+
"evaluation_metrics_dev": {
|
144 |
"f1",
|
145 |
"recall",
|
146 |
"precision",
|
|
|
|
|
|
|
147 |
},
|
148 |
+
"user_friendly_metrics_dev": {
|
149 |
+
"mostly_tracked_count_0.3",
|
150 |
+
"mostly_tracked_count_0.5",
|
151 |
+
"mostly_tracked_count_0.8",
|
152 |
+
"unique_obj_count",
|
153 |
+
},
|
154 |
+
"predictions_summary": {
|
155 |
"fp",
|
156 |
"tp",
|
157 |
"fn",
|
|
|
|
|
|
|
|
|
158 |
},
|
159 |
}
|
160 |
|