Gil-Simas commited on
Commit
187392b
·
verified ·
1 Parent(s): eec6c73

normalized n abs error

Browse files
Files changed (1) hide show
  1. 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),