1 复制权重文件到exe所在目录。 2 根据报错提示的配置文件路径,把default.yaml复制放到相应的路径下。(缺少相应父级文件夹的,手工创建)。 例子:这里提示dist\your_project_name\ultralytics\cfg\default.yaml找不到,那么在dist\your_project_name\目录下,依次创建ultralytics目录,并在ultralytics目录下创建cfg目录,...
qt5中的PyQt5文件夹打包的时候里面文件缺失,需要从环境中复制一下替换掉。yolo v8打包时ultralytics整个文件夹缺失。 我的环境位置在这里,具体根据自己环境建立的位置确定文件夹位置 D:\anaconda\envs\wyd_yolov8\Lib\site-packages 另外yolov8会自动使用多进程加速,pyinstaller对多进程不支持,所以打包时需要增...
If this badge is green, allUltralytics CItests are currently passing. CI tests verify correct operation of all YOLOv8ModesandTaskson macOS, Windows, and Ubuntu every 24 hours and on every commit. This error probably occurs, because you are trying to create a .exe that does not open a te...
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
Before freezing with Pyinstaller, make sure you place a copy of "default.yaml" to your working directory on Pycharm: https://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg/default.yaml I used this command to freeze my code: pyinstaller --onefile --windowed --add-da...
Hi, I am running pyinstaller to zip Yolov3 code. I follow the steps below to generate exe and run it: clone the code: https://github.com/ultralytics/yolov3 pip install pyinstaller pyinstaller detect.py run detect.exe dist/detect, I got t...
File "c:\users\cwy\anaconda3\envs\yolov5\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module exec(bytecode, module.dict) File "scipy\cluster_init_.py", line 25, in File "c:\users\cwy\anaconda3\envs\yolov5\lib\site-packages\PyInstaller\loader\pyimod...