Skip to content

Commit

Permalink
fix dtype bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel.brostrom committed Jun 20, 2023
1 parent a504e9e commit 4c294f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boxmot/strongsort/sort/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def update(self, detection, class_id, conf):
The associated detection.
"""
self.conf = conf
self.class_id = class_id.int()
self.class_id = class_id.astype('int64')
self.mean, self.covariance = self.kf.update(self.mean, self.covariance, detection.to_xyah(), detection.confidence)

feature = detection.feature / np.linalg.norm(detection.feature)
Expand Down

0 comments on commit 4c294f9

Please sign in to comment.