-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
Add one stage model support (i.e. FairMOT) #179
Comments
|
(1) If global parallelization is not performed, can we substitute the tracker model(KLT) seperately like replacing the detect model from SSD to YOLOv4? |
|
Also, I think three stages can potentially be multithreaded, i.e., detection, feature extraction, and association. But even without Python's GIL, because of the frame skip mechanism, these are not run on every frame and the speedup will be negligible. |
Thank you for your prompt and enthusiastic response! |
I need to know your target hardware. Keeping KLT is required if you don’t want to run the detector every frame for FPS. “Reusing the feature vector” is the same as using JDE or FairMOT. It will help if you can get it working with TensorRT, but some ops may not be supported. |
We use Jetson NX. |
For Jetson, it's recommended to keep KLT because the detector and feature extractor are too expensive to run at every frame. Unless you can get JDE or FairMOT converted to TensorRT and it runs reasonably fast. |
Marking this as a feature request for one stage model. You should look at FairMOT instead of JDE because it is more accurate. Let me know if you make any progress on conversion to TensorRT. Also related: AlexeyAB/darknet#3042 (comment) |
Hi Alexis! Is the conversion of FairMOT's DLA34 backbone version(ONNX -> TRT) helpful? |
DLA34 is probably slow. Converting their YOLOv5s backbone to TRT is better. You might need YOLOv5 TRT plugins. |
Related: #184 |
Hi Alexis, sorry for being late to reply you. I have managed to convert FairMOT's YOLOv5 backbone version to TensorRT. Please check it from the download link below. |
@PonyMaY is there any way to use scaled yolo models such as yolov4-mish,csp & pass to tracker like deep sort,FairMOT Im planning for passing this weights i.e yolov4x-mish/csp/swish to object tracker. if you have any script please let us know, even fairMOT also fine. Thanks in advance |
@PonyMaY Thanks. I cannot access your link. Can you share your ONNX model and your TensorRT conversion script if possible? Did you use any plugins? |
@akashAD98 FastMOT supports scaled YOLO models. Please open a new issue if you have further questions |
Sorry for making trouble to you to achieve the file. |
@PonyM and @GeekAlexis have you been integrated yolov5+reid in successfully with fastmot.Sorry for jump in your conversation but I am working on onestage model detection and tracking with yolov5 that's why asking you these question |
Hi Alex! Thanks a lot again for your excellent work again. I want to ask you several questions about the operation of the overall system.
(1) It seems like the whole system has these four blocks: preprocessing, tracking, feature extracting and association according to the master process in
mot.step()
of app.py.Can these four parts to be run in parallel to reduce GPU resource utilization and accelerate the system operation? I have noticed that
videoio.py
has used threading. So can the similar parallelization be applied to other parts?(2) Also, in step(self, frame): mot.py,
Here embeddings can be understood as feature martix. I want to know can it be reused in model processing of different features?
I hope you can understand my questions and give me some guidance in your busy schedule!
The text was updated successfully, but these errors were encountered: