Error deploying DNN "Unable to resolve the name coder.internal.loadDeepLearningNetwork."
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Shashank Gupta
el 14 de Oct. de 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 comentario
Ver también
Categorías
Más información sobre Get Started with GPU Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!