Deep neural network demension & change array dimension 2D to 3D array

1 回表示 (過去 30 日間)
한결 김
한결 김 2021 年 7 月 16 日
回答済み: Prince Kumar 2021 年 11 月 18 日
Hi I have a problem with simulink deep neural network - predict
I transfer keras network to matlab, and it works in matlab.
but when i save the Network to mat file and load to simulink, it doesn't work.
the error message is "Invalid size specification as input for predict method. The neural network input value must be 1, 3 in height and 1 in channel size."
(I gave [1,1,1] vector (size [1, 3]) as an input)
so I was going to change size [1,3] to [1,3,1] but I couldn't fine the method.
help me please.
Thank you

回答 (1 件)

Prince Kumar
Prince Kumar 2021 年 11 月 18 日

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by