MATLAB Answers

Ajpaezm
0

Importing Keras model to Matlab: LSTM layers is not yet supported.

Ajpaezm
さんによって質問されました 2019 年 1 月 29 日
最新アクティビティ Don Mathis
さんによって 回答されました 2019 年 1 月 31 日
I have a .h5 file I want to upload to Matlab using the import tool for TensorFlow in matlab, like this:
layers = importKerasLayers('myModel.h5');
But I get the following error:
Option to import Keras networks containing LSTM layers is not yet supported.
Error in NN_model (line 2)
layers = importKerasLayers('myModel.h5');
I've tried this in 2018a, and apperantly all layers related to LSTM are available in this version after the toolbox is downloaded, but I keep getting the error.
Is there any workaround to solve this? What could be causing the error?

  0 件のコメント

サインイン to comment.

1 件の回答

回答者: Don Mathis
2019 年 1 月 31 日

Support for importing LSTM layers from Keras started in R2018b.

  0 件のコメント

サインイン to comment.



Translated by