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

조회 수: 5 (최근 30일)
Yudong Cai
Yudong Cai 2019년 9월 10일
편집: Ansari86 2024년 2월 11일
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
Sivylla Paraskevopoulou 2022년 3월 28일
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