Skip to content

Commit

Permalink
Add back whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Draga Doncila committed Dec 4, 2023
1 parent f9d3ecb commit 0980248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/traccuracy/metrics/_track_overlap.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,5 @@ def _calc_overlap_score(
max_overlap = max(overlaps)
correct_count += max_overlap
total_count += len(reference_tracklet.edges())

return correct_count / total_count if total_count > 0 else -1

1 comment on commit 0980248

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Mean (s) BASE ef50a44 Mean (s) HEAD 0980248 Percent Change
test_load_gt_data 1.39667 1.32325 -5.26
test_load_pred_data 1.16082 1.17642 1.34
test_ctc_matched 2.24662 2.29275 2.05
test_ctc_metrics 0.5703 0.57453 0.74
test_ctc_div_metrics 0.28662 0.29566 3.16
test_iou_matched 9.56684 9.21571 -3.67
test_iou_div_metrics 0.27151 0.27584 1.59

Please sign in to comment.