MEX FIle For deep learning

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

Respuestas (1)

Jaya Shankar
Jaya Shankar el 24 de Jul. de 2020

0 votos

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

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Jun. de 2020

Respondida:

el 24 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by