Skip to content

Commit

Permalink
Update byte_tracker.py
Browse files Browse the repository at this point in the history
修改STrack class初始化方法,在其初始化方法中,调用父类BaseTrack的初始化方法。修正[bug 210](ifzhang#210)
  • Loading branch information
Aspirinkb authored Jun 30, 2022
1 parent d9504c1 commit 0cb85cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolox/tracker/byte_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class STrack(BaseTrack):
shared_kalman = KalmanFilter()
def __init__(self, tlwh, score):

super().__init__() # BaseTrack init
# wait activate
self._tlwh = np.asarray(tlwh, dtype=np.float)
self.kalman_filter = None
Expand Down

0 comments on commit 0cb85cb

Please sign in to comment.