![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400949/image.jpeg)
compiling custom made trained deep nn with Library Compiler for calling from Python
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried to compile with Library Compiler my custom-made trained Deep Neural Network to package it for calling from Python.
How can I compose the Support Package for it as exists for example, for resnet50 network here: ...SupportPackages\<version>\toolbox\nnet\supportpackages\resnet50 ?
Thanks.
0 Kommentare
Antworten (1)
Kojiro Saito
am 2 Jun. 2023
In Library Compiler, Support Packages are automatically included.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1400949/image.jpeg)
If not, you can manually add the support package by "-Z packagename" in mcc command.
mcc -W python:myLibrary -T link:lib -d C:\Path\To\for_testing -v C:\Path\To\scriptname.m -Z 'Deep Learning Toolbox Model for ResNet-50 Network'
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Compiler SDK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!