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

 採用された回答

Steven Lord
Steven Lord 2024 年 1 月 19 日

0 投票

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.

1 件のコメント

Bryce
Bryce 2024 年 1 月 29 日
Thank you this was indeed the case

サインインしてコメントする。

その他の回答 (1 件)

Matt J
Matt J 2024 年 1 月 18 日

0 投票

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

2 件のコメント

Bryce
Bryce 2024 年 1 月 18 日
I have R2022b installed
Matt J
Matt J 2024 年 1 月 19 日
As Steve mentions, that's not available in R2022b, but maybe you can use the earlier version importTensorFlowNetwork instead.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2022b

質問済み:

2024 年 1 月 18 日

コメント済み:

2024 年 1 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by