I am getting the error in loading the Yolov4 model in matlab 2021a . i am using the load function to load the yolov4.mat file but still it gives the warnings .
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: Unable to load instances of class mishLayer into a heterogeneous array. The definition of
mishLayer could be missing or contain an error. Default objects will be substituted.
> In Untitled2 (line 3)
Warning: While loading an object of class 'nnet.cnn.LayerGraph':
Array indices must be positive integers or logical values.
> In Untitled2 (line 3)
Warning: While loading an object of class 'dlnetwork':
Dot indexing is not supported for variables of this type.
> In Untitled2 (line 3)
Undefined function 'detectComplexYOLOv4' for input arguments of type 'dlnetwork'.
Error in Untitled2 (line 24)
[bboxes, scores, labels] = detectComplexYOLOv4(net, img, anchors, classNames, executionEnvironment);
2 Kommentare
Antworten (2)
yanqi liu
am 10 Dez. 2021
yes,sir,may be use
addpath('src');
to config toolbox
2 Kommentare
Anushikha Singh
am 24 Nov. 2022
Sir i have added all the folders but still getting same answer please help
Walter Roberson
am 24 Nov. 2022
I recommend that you addpath the absolute path instead of the relative path
Luke Hubbard
am 2 Dez. 2022
I was getting a similar error trying to load a previously trained custom network:
"Warning: Unable to load instances of class <some layer> into a heterogeneous array."
I was trying to load right after starting up matlab. I found that once I changed directories to the working directory where I trained the network, it loaded just fine.
2 Kommentare
Walter Roberson
am 2 Dez. 2022
Bearbeitet: Walter Roberson
am 2 Dez. 2022
At the time that you load the network, then the class definition for that kind of network needs to be on the MATLAB path. It is not important that you are in the same directory that you trained the network, just that the class definition can be reached.
In particular if you use MATLAB Compiler, you might find that you need to add the appropriate @ folder to the list of folders to include -- or else that you use a %#function pragma naming the class so that the compiler knows to include the class definition
Siehe auch
Kategorien
Mehr zu Kernel Creation from MATLAB Code finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!