compiling custom made trained deep nn with Library Compiler for calling from Python

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.

답변 (1개)

In Library Compiler, Support Packages are automatically included.
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'

카테고리

도움말 센터File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 5월 27일

답변:

2023년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by