Import Keras Tensorflow model in to Matlab

2 views (last 30 days)
Padmapritha T
Padmapritha T on 22 Jun 2021
Answered: Steven Lord on 22 Jun 2021
I have a compiled and trained networkmodel with an LSTM Layer, as .py or saved as .HDF5 using Keras with Tensorflowbackend. Is there a way to use it (give input, predict output) in Matlab? Can any one kindly help me...
Thanks in advance..

Answers (1)

Steven Lord
Steven Lord on 22 Jun 2021
See the importKerasNetwork function in Deep Learning Toolbox. As that documentation page indicates, you will also need a support package. Use the Add-Ons button on the Home tab of the Toolstrip to open Add-Ons Explorer and search for "keras" to find and install that add-on if you don't already have it.

Community Treasure Hunt

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

Start Hunting!