Skip to content

Commit

Permalink
Fix for Issue: AttributeError: 'STrack' object has no attribute '_count
Browse files Browse the repository at this point in the history
ifzhang#210

Fix for Issue: AttributeError: 'STrack' object has no attribute '_count ifzhang#210. ifzhang#210

Add base class initialization.
  • Loading branch information
qfgaohao authored Jun 27, 2022
1 parent d9504c1 commit 1bacddc
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(STrack, self).__init__()
# wait activate
self._tlwh = np.asarray(tlwh, dtype=np.float)
self.kalman_filter = None
Expand Down

0 comments on commit 1bacddc

Please sign in to comment.