Victoria Oberascher commited on
Commit
930c393
·
1 Parent(s): 4897b8a

try to fix bug concerning input

Browse files
Files changed (1) hide show
  1. horizon-metrics.py +2 -2
horizon-metrics.py CHANGED
@@ -177,8 +177,8 @@ class HorizonMetrics(evaluate.Metric):
177
  """
178
 
179
  if (self.ground_truth_det is None or self.predictions is None):
180
- self.ground_truth_det = references
181
- self.predictions = predictions
182
  print(self.ground_truth_det)
183
  print(self.predictions)
184
 
 
177
  """
178
 
179
  if (self.ground_truth_det is None or self.predictions is None):
180
+ self.ground_truth_det = references[0]
181
+ self.predictions = predictions[0]
182
  print(self.ground_truth_det)
183
  print(self.predictions)
184