MEX FIle For deep learning

2 次查看(过去 30 天)
aitali hassna
aitali hassna 2020-6-28
Hello
please i don't know why i get this error when i want to generate a mex-file for my function alexnet_predection
i create my neural network name MyNet and i store it in alexnet.mat
i tried with coder.loadDeepLearningNetwork but doesn't work because i get the error that this command supported only for GPU
Thanks for your help^
please i want juste some steps to solve this problem

回答(1 个)

Jaya Shankar
Jaya Shankar 2020-7-24
Please use coder.loadDeepLearningNetwork instead of coder.load in your MATLAB file.
If you dont have a GPU, you can still generate a MEX file from this if you have MATLAB coder , and the deep learning support package for MATLAB Coderhttps://www.mathworks.com/matlabcentral/fileexchange/68612-matlab-coder-interface-for-deep-learning-libraries
See an example here

类别

Help CenterFile Exchange 中查找有关 Deep Learning with GPU Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by