Convert Matlab CNN to c# to be used in .net desktop app.

5 ビュー (過去 30 日間)
Hardit Singh
Hardit Singh 2020 年 2 月 17 日
Is there a way to convert a convulutional neural network(CNN) that I have trained in Matlab to C# so that I can implement in a .net desktop app with visual studio?

採用された回答

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2020 年 2 月 17 日
yes
you can use the exportONNXNetwork function to take your neural network to other programs that support this same format
you can use Matlab Coder to generate C/C++ code
  2 件のコメント
Hardit Singh
Hardit Singh 2020 年 2 月 17 日
For the second thing you mentioned, how do I convert my network if the trained file is a .mat file?
JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2020 年 2 月 17 日
some like this:
load filename.mat %here put your real file name
filename = 'newnet.onnx';
exportONNXNetwork(yournet,filename)%in yournet put the variable than contains your neural net

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by