Matlab Compiler erroneously include YOLOv2-3-4 support packages in standaloneApp (even though I do not use them in my code) which results in 700+ MB EXE file
I recently installed these 3 support packages on my Windows 10 workstation (running Matlab R2023b Update 9 – latest AFAIK) :
Computer Vision Toolbox Model for YOLO v2 Object Detection
Computer Vision Toolbox Model for YOLO v3 Object Detection
Computer Vision Toolbox Model for YOLO v4 Object Detection
Since then, I noticed that when I build a standaloneApplication, the archive (EXE file) is enormous (700+ MB as compared to ~1.8MB beforehand)
So I decided to peek into the EXE archive (using 7-zip) to try to identify the file causing this and I realized that these where now included even though I do not use any YOLO detector in said App :
It looks like the dependency analyzer thinks I need them for some reason…
Is this a bug or else is there a setting somewhere I can use to exclude these support-packages from being included in my App ?
Thanks!
SébastienI recently installed these 3 support packages on my Windows 10 workstation (running Matlab R2023b Update 9 – latest AFAIK) :
Computer Vision Toolbox Model for YOLO v2 Object Detection
Computer Vision Toolbox Model for YOLO v3 Object Detection
Computer Vision Toolbox Model for YOLO v4 Object Detection
Since then, I noticed that when I build a standaloneApplication, the archive (EXE file) is enormous (700+ MB as compared to ~1.8MB beforehand)
So I decided to peek into the EXE archive (using 7-zip) to try to identify the file causing this and I realized that these where now included even though I do not use any YOLO detector in said App :
It looks like the dependency analyzer thinks I need them for some reason…
Is this a bug or else is there a setting somewhere I can use to exclude these support-packages from being included in my App ?
Thanks!
Sébastien I recently installed these 3 support packages on my Windows 10 workstation (running Matlab R2023b Update 9 – latest AFAIK) :
Computer Vision Toolbox Model for YOLO v2 Object Detection
Computer Vision Toolbox Model for YOLO v3 Object Detection
Computer Vision Toolbox Model for YOLO v4 Object Detection
Since then, I noticed that when I build a standaloneApplication, the archive (EXE file) is enormous (700+ MB as compared to ~1.8MB beforehand)
So I decided to peek into the EXE archive (using 7-zip) to try to identify the file causing this and I realized that these where now included even though I do not use any YOLO detector in said App :
It looks like the dependency analyzer thinks I need them for some reason…
Is this a bug or else is there a setting somewhere I can use to exclude these support-packages from being included in my App ?
Thanks!
Sébastien compiler, yolo, enormous executable, vision toolbox, support package MATLAB Answers — New Questions