Skip to content

AttributeError: 'STrack' object has no attribute '_count #210

@feiyang-hku

Description

@feiyang-hku

Traceback (most recent call last):
File "tools/demo_track.py", line 372, in
main(exp, args)
File "tools/demo_track.py", line 365, in main
imageflow_demo(predictor, vis_folder, current_time, args)
File "tools/demo_track.py", line 263, in imageflow_demo
online_targets = tracker.update(outputs[0], [img_info['height'], img_info['width']], exp.test_size)
File "/content/ByteTrack/yolox/tracker/byte_tracker.py", line 268, in update
track.activate(self.kalman_filter, self.frame_id)
File "/content/ByteTrack/yolox/tracker/byte_tracker.py", line 48, in activate
self.track_id = self.next_id()
File "/content/ByteTrack/yolox/tracker/basetrack.py", line 36, in next_id
self._count += 1
AttributeError: 'STrack' object has no attribute '_count'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions