Unrecognized function or variable 'importNet​workFromTe​nsorFlow'.

1 vue (au cours des 30 derniers jours)
Bryce
Bryce le 18 Jan 2024
Commenté : Bryce le 29 Jan 2024
if ~exist('model2a','dir')
unzip('model2a.zip')
end
modelFolder = './model2a';
net = importNetworkFromTensorFlow(modelFolder)
I ran the following above and got the error output mentioned above. Is there a way to resolve this? I checked that i have the add on installed and i even move to the main path where this add on is installed

Réponse acceptée

Steven Lord
Steven Lord le 19 Jan 2024
The documentation page for importNetworkFromTensorFlow states that this function was "Introduced in R2023b". The release you're using predates its introduction. You will need to update to release R2023b or later to use it.

Plus de réponses (1)

Matt J
Matt J le 18 Jan 2024
You haven't filled in the form with your Matlab release, but I'm guessing you have a version that predates that command.
  2 commentaires
Bryce
Bryce le 18 Jan 2024
I have R2022b installed
Matt J
Matt J le 19 Jan 2024
As Steve mentions, that's not available in R2022b, but maybe you can use the earlier version importTensorFlowNetwork instead.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by