Error using nnet.internal.cnn.onnx.converter
Afficher commentaires plus anciens
I've a pretrained squeeznet model and changed the last layers, and when I try to export my network this error appears Error using nnet.internal.cnn.onnx.onnxmex
Invalid MEX-file
'C:\ProgramData\MATLAB\SupportPackages\R2025b\toolbox\nnet\supportpackages\onnx\+nnet\+internal\+cnn\+onnx\onnxmex.mexw64': No se
encontró el proceso especificado.
Error in
ModelPtr = onnxmex(int32(FuncName.EnewModelProto));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
writeToFile(modelProto, Filename);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
nnet.internal.cnn.onnx.exportONNXNetwork(Network, filename, varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
anyone knows how to fix it?
1 commentaire
Walter Roberson
le 2 Juin 2026
"No se encontró el proceso especificado." translates to English as "The specified process was not found."
It is not clear to me which process is being referred to.
It might possibly be the case that onnxmex.mexw64 is corrupt and that the Support Package for ONNX needs to be reinstalled.
Réponses (1)
Arkadiy Turevskiy
le 8 Juil 2026
0 votes
Hi,
It looks like you are running into the same issue as in this question: https://www.mathworks.com/matlabcentral/answers/494277-onnx-export-yields-error. Please take a look at the answer in that post.
HTH.
Arkadiy
Catégories
En savoir plus sur Image Data Workflows dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!