ifzhang/ByteTrack

public MOT20 results

Mr-Akbari opened this issue · 0 comments

Thanks for sharing your work.
I modified your track.py script to run on the detection files from MOT20-train (public detector protocols). Your code ran fine, but the tracking results seem very poor (combined HOTA = 46.97, combined MOTA = 49.49 on train set of MOT20, Evaluate with TrackEval). In general, I would like to use your code with a MOT-style det.txt file, but I am concerned that it is not currently working right.

Added code :

detections = []
for _,li in enumerate(lines):
      new = [float(x) for x in li.split(",")][:6]             
      new = new + [1] + [1] + [0]
      new[4] = new[2] + new[4]
      new[5] = new[3] + new[5]
      if int(new[0]) == (frame_id):
          detections.append(new[2:])
detections = np.array(detections)
trackerTimer.tic()
online_targets = tracker.update(detections, img_info["raw_img"])
trackerTimer.toc()

I really appreciate it if you answer these questions. Thanks very much.