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

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

 Accepted Answer

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.

More Answers (1)

You haven't filled in the form with your Matlab release, but I'm guessing you have a version that predates that command.

2 Comments

As Steve mentions, that's not available in R2022b, but maybe you can use the earlier version importTensorFlowNetwork instead.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 18 Jan 2024

Commented:

on 29 Jan 2024

Community Treasure Hunt

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

Start Hunting!