Minor rename to avoid name shadowing

This commit is contained in:
LinasKo committed 2024-11-01 20:36:00 +02:00
1 parent cfd02c8c5c
commit d3210ed0cc
1 file changed
+4 -4
+4 -4
View File
@@ -185,13 +185,13 @@ class ByteTrack:
detections = [
STrack(
STrack.tlbr_to_tlwh(tlbr),
s,
score_keep,
self.minimum_consecutive_frames,
self.shared_kalman,
self.internal_id_counter,
self.external_id_counter,
)
for (tlbr, s) in zip(dets, scores_keep)
for (tlbr, score_keep) in zip(dets, scores_keep)
]
else:
detections = []
@@ -234,13 +234,13 @@ class ByteTrack:
detections_second = [
STrack(
STrack.tlbr_to_tlwh(tlbr),
s,
score_second,
self.minimum_consecutive_frames,
self.shared_kalman,
self.internal_id_counter,
self.external_id_counter,
)
for (tlbr, s) in zip(dets_second, scores_second)
for (tlbr, score_second) in zip(dets_second, scores_second)
]
else:
detections_second = []