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

1 回表示 (過去 30 日間)
Bryce
Bryce 2024 年 1 月 18 日
コメント済み: Bryce 2024 年 1 月 29 日
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 日
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 日
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.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by