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

yolov10 executable file big size(how to reduce) #470

Open
Izzatullokh24 opened this issue Oct 22, 2024 · 0 comments
Open

yolov10 executable file big size(how to reduce) #470

Izzatullokh24 opened this issue Oct 22, 2024 · 0 comments

Comments

@Izzatullokh24
Copy link

Assalamu alaikum everyone,

I have trained yolov10 on my custom dataset, and get best.pt model.

Using this model, I have created GUI using PyQt5. it is working properly,

and I have created an executable file for this project using below command:

pyinstaller --onedir --windowed --clean
--collect-data ultralytics
--hidden-import=PyQt5.sip
--hidden-import=cv2
--add-data "model/best.pt:model"
--add-data "logo/companies_logo.png:logo"
--add-data "logo/hbrains.ico:logo"
--add-data "traffic_light_recog.ui:."
traffic_light_recog.py

my best.pt file size and other file size are unter 10mb,

when I created executable file in Ubuntu 20.04, executable file is 4GB,

is there anyone who can help me to reduce the size of the executable file

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

1 participant