Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Yudong Cai
Yudong Cai le 10 Sep 2019
Modifié(e) : Ansari86 le 11 Fév 2024
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?

Réponses (1)

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou le 28 Mar 2022
To import TensorFlow models in the SavedModel format, use the importTensorFlowNetwork function. See the documentation link:
  1 commentaire
Ansari86
Ansari86 le 11 Fév 2024
Modifié(e) : Ansari86 le 11 Fév 2024
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,

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by