Layer 'conv1': Invalid input data. Undefined function 'changeStorage' for input arguments of type 'deep.inte​rnal.forma​t.DataLayo​ut'.

3 次查看(过去 30 天)
I implement Object Detection Using YOLO v3 Deep Learning and I get the following error.
Same error in my own dataset and standard(vehicleDatasetImages) dataset.
II am following the operations on this link.
line : [gradients, state, lossInfo] = dlfeval(@modelGradients, yolov3Detector, XTrain, YTrain, penaltyThreshold);
Error: Layer 'conv1': Invalid input data. Undefined function 'changeStorage' for input arguments of type 'deep.internal.format.DataLayout'.
Please help me?
Matlab version is 2021a :(

回答(1 个)

Shraddha Jain
Shraddha Jain 2021-6-14
Hi Kursat,
Make sure that you have added all the Supporting Functions mentioned in the example Object Detection Using YOLO v3 Deep Learning. Refering to the code that you have specified above, it is possible that the supporting function modelGradients is missing in your script.
Use the below MATLAB command to open the live script of the mentioned example from Command Window:
openExample('deeplearning_shared/ObjectDetectionUsingYOLOV3DeepLearningExample')
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by