Spaces:
Sleeping
Sleeping
normalized n abs error
Browse files- box-metrics.py +2 -0
box-metrics.py
CHANGED
@@ -201,6 +201,8 @@ class box_metrics(evaluate.Metric):
|
|
201 |
"e_height_mean": np.mean(e_heights),
|
202 |
"e_n_bottom_x_mean": np.mean(e_n_bottom_x),
|
203 |
"e_n_bottom_y_mean": np.mean(e_n_bottom_y),
|
|
|
|
|
204 |
"e_n_width_mean": np.mean(e_n_widths),
|
205 |
"e_n_height_mean": np.mean(e_n_heights),
|
206 |
"e_bottom_x_std": np.std(e_bottom_x),
|
|
|
201 |
"e_height_mean": np.mean(e_heights),
|
202 |
"e_n_bottom_x_mean": np.mean(e_n_bottom_x),
|
203 |
"e_n_bottom_y_mean": np.mean(e_n_bottom_y),
|
204 |
+
"e_n_abs_bottom_x_mean": np.mean(np.abs(e_n_bottom_x)),
|
205 |
+
"e_n_abs_bottom_y_mean": np.mean(np.abs(e_n_bottom_y)),
|
206 |
"e_n_width_mean": np.mean(e_n_widths),
|
207 |
"e_n_height_mean": np.mean(e_n_heights),
|
208 |
"e_bottom_x_std": np.std(e_bottom_x),
|