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

1 回表示 (過去 30 日間)
anna pett
anna pett 2023 年 5 月 27 日
回答済み: Kojiro Saito 2023 年 6 月 2 日
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 件)

Kojiro Saito
Kojiro Saito 2023 年 6 月 2 日
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'

カテゴリ

Help Center および File ExchangeMATLAB Compiler SDK についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by