ifzhang / ByteTrack

[ECCV 2022] ByteTrack: Multi-Object Tracking by Associating Every Detection Box
MIT License
4.8k stars 906 forks source link

Fix for Issue: AttributeError: 'STrack' object has no attribute '_count' #211

Closed qfgaohao closed 2 years ago

qfgaohao commented 2 years ago

Fix for Issue: AttributeError: 'STrack' object has no attribute '_count #210. https://github.com/ifzhang/ByteTrack/issues/210

Add base class initialization.

qfgaohao commented 2 years ago

It solved this issue. But it still has other issues. Revert the following commit might be a better option. https://github.com/ifzhang/ByteTrack/commit/d9504c1ade7d6d9fb02a514a52cb09e307b73dd1

wangxiyang2022 commented 2 years ago

I think there seems to be a problem with initializing each detection , because the id of each detection starts at 0, so that all id of track will be 1 when later.