Skip to content

Commit

Permalink
Evaluation script now generic
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanirtiza authored Dec 13, 2020
1 parent ad3e107 commit f8b783f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test_euroCity.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def mock_detector(model, image):
mock_detections = []
if len(results) > 1:
results = results[:][0]
for box in results[0][0]:
for box in results[0]:
box = {'x0': float(box[0]),
'x1': float(box[2]),
'y0': float(box[1]),
Expand Down

0 comments on commit f8b783f

Please sign in to comment.