How to recover neural network from a .pb file in Matlab?

6 次查看(过去 30 天)
I have a pretrained neural network in tensorflow, which is saved in a .pb file. Now, i want to recover it from the .pb file in Matlab, How should i do?

回答(1 个)

Sivylla Paraskevopoulou
To import TensorFlow models in the SavedModel format, use the importTensorFlowNetwork function. See the documentation link:
  1 个评论
Ansari86
Ansari86 2024-2-11
编辑:Ansari86 2024-2-11
Dear Sivylla,
For my model, the importensorflow function gives a warning for a few functions (TensorListReserve, TensorListFromTensor, TensorListReserve, While, TensorListStack). And this is always the case when I try ti import an lstm. Is there a way around this?
Also, I have access to all the weights in all the networks, is there some other way to build the network?
Thanks,

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by