Victoria Oberascher commited on
Commit
da3cb24
·
1 Parent(s): 3f940f6

try to fix bug

Browse files
Files changed (1) hide show
  1. horizon-metrics.py +2 -2
horizon-metrics.py CHANGED
@@ -183,13 +183,13 @@ class HorizonMetrics(evaluate.Metric):
183
  self.predictions = predictions[0]
184
  print(self.ground_truth_det)
185
  print(self.predictions)
 
186
  try:
187
- print(np.asarray(self.ground_truth_det).shape)
188
  print(np.asarray(self.predictions).shape)
189
  except:
190
  # no nothing
191
  pass
192
-
193
 
194
  # calculate erros and store values in slope_error_list and midpoint_error_list
195
  for annotated_horizon, proposed_horizon in zip(self.ground_truth_det,
 
183
  self.predictions = predictions[0]
184
  print(self.ground_truth_det)
185
  print(self.predictions)
186
+
187
  try:
188
+ print(np.asarray(self.ground_truth_det).shape)
189
  print(np.asarray(self.predictions).shape)
190
  except:
191
  # no nothing
192
  pass
 
193
 
194
  # calculate erros and store values in slope_error_list and midpoint_error_list
195
  for annotated_horizon, proposed_horizon in zip(self.ground_truth_det,