-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
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
Turning detect.py into a .exe #434
Comments
Hello @MrCri5py, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
In your PyInstaller .spec file, try adding caffe2_detectron_ops_gpu.dll to the binaries. Example: Note: If you use a conda environment the path should be similar to: |
Thank you for your response @WelkinU . I have added the .DLL path to the binary and still gives the same issue. I've added --paths "path containing the .DLL", this then changed the error to PyInstallerImportError: Failed to load dynlib/dll "caffe2_nvrtc.dll" |
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've met he error too. How to solve? |
❔Question
I hope you are well.
I've got a question about creating an executable using YOLOv5. How do we go about to convert the detect. py script to an .exe? I have tried using Pyinstaller and cx_Freeze but this gives PyInstallerImportError: Failed to load dynlib/dll "caffe2_detectron_ops_gpu.dll". Your feedback will be highly appreciated.
Thank you
Kind regards
Additional context
The text was updated successfully, but these errors were encountered: