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

조회 수: 8 (최근 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