Error deploying DNN "Unable to resolve the name coder.internal.loadDeepLearningNetwork."
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am having an error after compiling an app that content a compiled mex file. I compile a dnn function to GPU mex to increase speed of the deep neural network. Then I compile the application to .exe.
function [categ, score] = classifydnn(resized_cropped_img)
persistent net;
if isempty(net)
net = coder.loadDeepLearningNetwork('resnet50_0830.mat','net');
end
[categ, score] = classify(net, resized_cropped_img,'ExecutionEnvironment','gpu');
end
But I am having the error
"Unable to resolve the name coder.internal.loadDeepLearningNetwork."
How can I solve this, what I am forgetting to do?
Thanks
0 Kommentare
Antworten (1)
Shashank Gupta
am 14 Okt. 2020
Hey Wilmer,
The error looks more like an installation package problem, Have you downloaded the required GPU coder packages needed for this function to work. Type "ver" in command line of MATLAB, it will give you the toolboxes you have installed, look for the required toolbox for this function to work. I suspect this has to do with package installation.
Cheers.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox 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!