Skip to content

Could not load 'yolov8x.mat' correctly (model not Initialized). #4

Open
@cenerd

Description

@cenerd

When the file 'yolov8x.mat' was downloaded and placed in the same directory with ' yolov8n.mat', I tried to load the v8x.mat file as did to v8n.mat. No error messege shown. However, when I double clicked the variable 'det' (det = data.yolov8Net) in the workspace, it showed empty attributes and det.Initialized is 0. While for v8n.mat, it shows 231x1 Layers, and det.Initialized is 1.

When '[bboxes, scores, labelIds] = detectYOLOv8(det, I, numClasses, executionEnvironment); ' was called as presented in the README.md, matlab produce the following error messege (in Chinese):

此类型的变量不支持使用点进行索引。
出错 dlnetwork/get.Layers (第 250 行)
internalLayers(this.TopologicalOrder) = iRevertFunctional(this.PrivateNetwork.OriginalLayers);
出错 detectYOLOv8 (第 20 行)
inputSize = dlnet.Layers(1).InputSize;
出错 main (第 32 行)
[bboxes, scores, labelIds] = detectYOLOv8(det, I, numClasses, executionEnvironment);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions