Spaces:
Sleeping
Sleeping
add mean of abs error
Browse files- box-metrics.py +2 -0
box-metrics.py
CHANGED
|
@@ -195,6 +195,8 @@ class box_metrics(evaluate.Metric):
|
|
| 195 |
"bep": np.mean(beps),
|
| 196 |
"e_bottom_x_mean": np.mean(e_bottom_x),
|
| 197 |
"e_bottom_y_mean": np.mean(e_bottom_y),
|
|
|
|
|
|
|
| 198 |
"e_width_mean": np.mean(e_widths),
|
| 199 |
"e_height_mean": np.mean(e_heights),
|
| 200 |
"e_n_bottom_x_mean": np.mean(e_n_bottom_x),
|
|
|
|
| 195 |
"bep": np.mean(beps),
|
| 196 |
"e_bottom_x_mean": np.mean(e_bottom_x),
|
| 197 |
"e_bottom_y_mean": np.mean(e_bottom_y),
|
| 198 |
+
"e_abs_bottom_x_mean": np.mean(np.abs(e_bottom_x)),
|
| 199 |
+
"e_abs_bottom_y_mean": np.mean(np.abs(e_bottom_y)),
|
| 200 |
"e_width_mean": np.mean(e_widths),
|
| 201 |
"e_height_mean": np.mean(e_heights),
|
| 202 |
"e_n_bottom_x_mean": np.mean(e_n_bottom_x),
|