MEX FIle For deep learning

1 view (last 30 days)
aitali hassna
aitali hassna on 28 Jun 2020
Answered: Jaya Shankar on 24 Jul 2020
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

Answers (1)

Jaya Shankar
Jaya Shankar on 24 Jul 2020
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

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!