Victoria Oberascher commited on
Commit
c6725e5
·
1 Parent(s): 7256d72

undo changes

Browse files
Files changed (1) hide show
  1. horizon-metrics.py +0 -8
horizon-metrics.py CHANGED
@@ -177,14 +177,6 @@ class HorizonMetrics(evaluate.Metric):
177
  float: The computed horizon error.
178
  """
179
 
180
- try:
181
- print("Predicitons:", predictions)
182
- print("Reference:", references)
183
- self.ground_truth_det = references[0]
184
- self.predictions = predictions[0]
185
- except:
186
- pass
187
-
188
  # calculate erros and store values in slope_error_list and midpoint_error_list
189
  for annotated_horizon, proposed_horizon in zip(self.ground_truth_det,
190
  self.predictions):
 
177
  float: The computed horizon error.
178
  """
179
 
 
 
 
 
 
 
 
 
180
  # calculate erros and store values in slope_error_list and midpoint_error_list
181
  for annotated_horizon, proposed_horizon in zip(self.ground_truth_det,
182
  self.predictions):