Spaces:
Sleeping
Sleeping
wip
Browse files- box-metrics.py +1 -1
box-metrics.py
CHANGED
@@ -191,7 +191,7 @@ class box_metrics(evaluate.Metric):
|
|
191 |
e_n_heights = np.append(e_n_heights, (p_h-t_h)/t_h)
|
192 |
e_n_bottom_x = np.append(e_n_bottom_x, (p_xc-t_xc)/t_w)
|
193 |
e_n_bottom_y = np.append(e_n_bottom_y, (p_yc-t_yc)/t_h)
|
194 |
-
|
195 |
output[sequence][model] = {
|
196 |
"iou": np.mean(ious),
|
197 |
"bep": np.mean(beps),
|
|
|
191 |
e_n_heights = np.append(e_n_heights, (p_h-t_h)/t_h)
|
192 |
e_n_bottom_x = np.append(e_n_bottom_x, (p_xc-t_xc)/t_w)
|
193 |
e_n_bottom_y = np.append(e_n_bottom_y, (p_yc-t_yc)/t_h)
|
194 |
+
print(ious)
|
195 |
output[sequence][model] = {
|
196 |
"iou": np.mean(ious),
|
197 |
"bep": np.mean(beps),
|