学習済みのLSTMをsimulinkへ導入したいです
Mostra commenti meno recenti
<質問>
学習させたLSTM(trainnetwork)を用いて時系列データの予測をSimulinkで行いたいと考えています。
Simulinkを用いたLSTMの時系列データの予測手法について知ってる方がいれば教えていただきたいです。
<現状>
以下の層を持つLSTMを学習させました。
layers = [ ...
sequenceInputLayer(numFeatures)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(numResponses)
regressionLayer];
次に示すMatlab Functionをsimulinkで実行したのですがエラーをはいてうまく動きませんでした。
function out = lstmnet_predict(in)
persistent mynet;
if isempty(mynet)
mynet = coder.loadDeepLearningNetwork('lstmnet.mat','net');
end
out = predict(mynet,in);
end
エラーは次の通りです。
Error generating code for network net_LSTM0. Code generation for SequenceInputLayer sequenceinput is not supported for mkldnn target. See documentation for a list of supported layers with each target.
どうやらSequenceInputLayerで問題が発生しているようなのですが、この方法は現状ではSimulinkに対応していないのでしょうか?。
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!