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

Support for yolov5s-ghost.yaml #728

Closed
fabiozappo opened this issue Sep 17, 2021 · 4 comments
Closed

Support for yolov5s-ghost.yaml #728

fabiozappo opened this issue Sep 17, 2021 · 4 comments
Labels
wontfix This will not be worked on

Comments

@fabiozappo
Copy link

fabiozappo commented Sep 17, 2021

Hi @wwqgtxx

I succesfully used your repo with yolov5s on my nvidia-jetson nano.
Image size is set to 640 and inference speed is much better than original yolov5, however I would like to reduce number of parameters in order to not use all the gpu memory. One option of course is to use a smaller model or to use a lower image size, however also this new model yolov5s-ghost seems a valid option.

I was curious and then I tried to generate the engine with:

./yolov5 -s yolov5s-ghost.wts yolov5s-ghost.engine c 0.33 0.50

but without success. Am I doing something wrong?

@wang-xinyu
Copy link
Owner

Probably setting 0.33 and 0.50 is not enough.

You should go through the code and do changes accordingly. Check build_engine().

@stale
Copy link

stale bot commented Nov 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 17, 2021
@stale stale bot closed this as completed Nov 24, 2021
@JimmyW-11
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I'm also interested in this question. How did you solve it?

@Lixinixn115
Copy link

Hello, I have modified the backbone network of yolov5 to mobilenet. What files should be modified in the corresponding tensorrt? Attempted to modify common.hpp and yolov5.cpp but still can't generate engine. Look forward to your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants