exportNetw​orkToTenso​rFlow is not recognized as a function, despite addon is installed

16 vues (au cours des 30 derniers jours)
I'm trying to export pre-trained neural network to TensorFlow format for implementation in python. However the command
exportNetworkToTensorFlow(net,'FileName')
Is not recognized it gives me
Unrecognized function or variable 'exportNetworkToTensorFlow'.
The Deep Learning Toolbox Converter for TensorFlow Models is installed. I've tried reinstalling add-on, updating Matlab, also tried under older release (R2021a), still it does not works. It looks like exportNetworkToTensorFlow is no longer correct command, it must be changed but the docs says nothing about it. Can you help me?

Réponse acceptée

David Willingham
David Willingham le 3 Jan 2023
Hi Karol,
exportNetworkToTensorFlow came out in R2022b. Was this the release you tried it in originally? If so, maybe the preference directory needs to be refreshed. To do this follow this answers post:
  1 commentaire
Karol P.
Karol P. le 3 Jan 2023
Modifié(e) : Karol P. le 3 Jan 2023
As in the question detalis, I tried under R2022a, and also R2021a. If exportNetworkToTensorFlow is compatible only with 2022b and higher, why on the Exchange page it is claimed to be compatible with R2017b and higher?
Edit: I tested it with 2022b and indeed the command is recognized, but seems to be not compatible with fitnet object for some reason. But this is different story, so I mark it as solved.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by