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

Do I need to add parse function when I deal with other yolov5 models? #13

Closed
theiot opened this issue Dec 3, 2020 · 6 comments
Closed

Comments

@theiot
Copy link

theiot commented Dec 3, 2020

Hi,

From your yolov5 FAQ, I'm aware something need to be changed with the config files. My question is, do I need to add functions to parse the model's data in nvdsparsebbox_Yolo.cpp? And how to do so?

Thanks,

@marcoslucianops
Copy link
Owner

Hi, I didn't understand what you need. Do you want know how to run model or how to get processed metada?

@theiot
Copy link
Author

theiot commented Dec 4, 2020

Hi, I didn't understand what you need. Do you want know how to run model or how to get processed metada?

Hi,

Thank you for your prompt replay.

In your /examples/yolov5s/nvdsinfer_custom_impl_Yolo/nvdsparsebbox_Yolo.cpp file, there is a function named:NvDsInferParseCustomYoloV5(), I think it can parse yolov5s meta data. If I want to parse v5m or v5x, can I just use this function or I need create a new one specific for v5m/v5x?

@marcoslucianops
Copy link
Owner

Do you need only TensorRT converted model to use with other yolov5 model, the nvdsparsebbox_Yolo.cpp file is the same of yolov5s.

Metadata is processed stream/video data. It's location of bbox, label of detected object, etc. To get this data, you need knowledge to edit deepstream code (Python or C).

@theiot
Copy link
Author

theiot commented Dec 6, 2020

Got it, thank you for your confirmation.

@marcoslucianops
Copy link
Owner

@theiot, I updated and simplified YOLOv5.md.

@theiot
Copy link
Author

theiot commented Dec 11, 2020

@theiot, I updated and simplified YOLOv5.md.

Cool!

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

2 participants