matlab-deep-learning / Pretrained-YOLOv8-Network-For-Object-Detection

YOLO v8 training and inference in MATLAB for Object Detection with yolov8n, yolov8s, yolov8m, yolov8l, yolov8x, networks
https://in.mathworks.com/help/vision/ug/getting-started-with-object-detection-using-deep-learning.html
GNU Affero General Public License v3.0
30 stars 3 forks source link

Could not codegen the model. #5

Open cenerd opened 7 months ago

cenerd commented 7 months ago

I tried to generate mex for the model by calling "codegenYOLOv8.m". Got the following messege:

>> codegenYOLOv8
??? Internal error during code generation. Expected a fixed size data for dlarray. Please contact MathWorks Technical Support for assistance.

Error in ==> yolov8Transform Line: 16 Column: 24
Code generation failed: View Error Report

The screenshot of the Error Report attached below. codegen_error

viakkala commented 7 months ago

Hi, Could you please specify which version of MATLAB you are using?