ifzhang / ByteTrack

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

about the update in tracking #230

Open Breezewrf opened 2 years ago

Breezewrf commented 2 years ago

the code from yolox/evaluators/mot_evaluator.py

# run tracking
            online_targets = tracker.update(outputs[0], info_imgs, self.img_size)
            online_tlwhs = []
            online_ids = []
            for t in online_targets:
                tlwh = [t[0], t[1], t[2] - t[0], t[3] - t[1]]
                tid = t[4]
                vertical = tlwh[2] / tlwh[3] > 1.6
                if tlwh[2] * tlwh[3] > self.args.min_box_area and not vertical:
                    online_tlwhs.append(tlwh)
                    online_ids.append(tid)

Thanks for your wonderful work. the thing is that I am curious about why the tracking code except BYTE without the snippet "if outputs[0] is not None ", and which contributes to my running error when I go through sort\deepsort\motdt testing.