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

4 次查看(过去 30 天)
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?

采纳的回答

David Willingham
David Willingham 2023-1-3
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 个评论
Karol P.
Karol P. 2023-1-3
编辑:Karol P. 2023-1-3
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by