Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC_Sort Vs. ByteTracker Inference Speed #46

Closed
Rm1n90 opened this issue Jun 21, 2022 · 3 comments
Closed

OC_Sort Vs. ByteTracker Inference Speed #46

Rm1n90 opened this issue Jun 21, 2022 · 3 comments

Comments

@Rm1n90
Copy link

Rm1n90 commented Jun 21, 2022

Hello @noahcao,

Thanks for sharing the code. I have a question regard to speed of OC_Sort.
Im using YoloV5 as a object detector for both OC_Sort and ByteTracker tracking algorithm with the same setting. However, all the process for one frame (Detection and tracking) took almost ~14ms for ByteTracker and ~45ms for OC_Sort. I would like to ask you how can I speed up the OC_Sort (Based on your paper, OC_Sort should be faster than ByteTrack)?

Thanks!

@noahcao
Copy link
Owner

noahcao commented Jul 2, 2022

Hi @Rm1n90,

Yes, in my raw implementation, OC-SORT should be slightly faster than ByteTrack. In this repo, the released version is based on a naive and less efficienct implementation. The key should be in the FOR-loops in oc-sort. I am not updating this repo in the coming days as my focus is to support a higher-efficient version in mmtracking (see PR in mmtracking), for which we would make it faster.

Apologize for the confusion and inconvenience I make here.

@Rm1n90 Rm1n90 closed this as completed Jul 15, 2022
@mohaghighat
Copy link

Does this repo has the efficient code yet, or should we only use the version in the mmtracking?

@noahcao
Copy link
Owner

noahcao commented Dec 13, 2022

@mohaghighat

For the time efficiency, they are almost the same. This version is cleaner if you only want to use OC-SORT. The mmtracking version is more flexible if you'd like to try more features, such as adaptive detector, backbones, more engineering tricks etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants