ZQPei / deep_sort_pytorch

MOT using deepsort and yolov3 with pytorch
MIT License
2.83k stars 727 forks source link

deep_sort/sort/tracker.py函数疑惑 #259

Open goljx opened 1 year ago

goljx commented 1 year ago
    for track in self.tracks:
        if not track.is_confirmed():
            continue
        features += track.features
        targets += [track.track_id for _ in track.features]
        track.features = []

在第二帧中,len(features)和len(targets)都为0,到了第三帧就都为84,且里面的数据是有3份相同的。为什么会出现3份相同的数据呢?