File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
supervision/tracker/byte_tracker Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,13 +185,13 @@ def update_with_tensors(self, tensors: np.ndarray) -> List[STrack]:
185
185
detections = [
186
186
STrack (
187
187
STrack .tlbr_to_tlwh (tlbr ),
188
- s ,
188
+ score_keep ,
189
189
self .minimum_consecutive_frames ,
190
190
self .shared_kalman ,
191
191
self .internal_id_counter ,
192
192
self .external_id_counter ,
193
193
)
194
- for (tlbr , s ) in zip (dets , scores_keep )
194
+ for (tlbr , score_keep ) in zip (dets , scores_keep )
195
195
]
196
196
else :
197
197
detections = []
@@ -234,13 +234,13 @@ def update_with_tensors(self, tensors: np.ndarray) -> List[STrack]:
234
234
detections_second = [
235
235
STrack (
236
236
STrack .tlbr_to_tlwh (tlbr ),
237
- s ,
237
+ score_second ,
238
238
self .minimum_consecutive_frames ,
239
239
self .shared_kalman ,
240
240
self .internal_id_counter ,
241
241
self .external_id_counter ,
242
242
)
243
- for (tlbr , s ) in zip (dets_second , scores_second )
243
+ for (tlbr , score_second ) in zip (dets_second , scores_second )
244
244
]
245
245
else :
246
246
detections_second = []
You can’t perform that action at this time.
0 commit comments