Execution of script mobilnetv2 as a function is not supported:
1 回表示 (過去 30 日間)
古いコメントを表示
Hi I am trying to use mobilenetv2
so I typed the below code in my matlab 2023b desktop
mynet = mobilenetv2;
and it occurs the error below
Execution of script mobilnetv2 as a function is not supported:
C: my_mlx_file_path\who_cares\mobilenetv2.mlx
in online editor, it doesn`t occurs error
I have checked Add-on list for check
and reinstalled "Deep Learning Toolbox" and "Deep Learning Toolbox model for MobileNet-v2 Network"
and I got the same error...
I have used other form refering mobilenetv2 document
mynet = mobilenetv2('Weights',some_arbitary_weights);
or
mynet = mobilenetv2();
they also occurs error
How to solve my error?
0 件のコメント
採用された回答
Jinal
2023 年 3 月 16 日
Hi,
I understand that you are facing errors while using ‘mobilenetv2’ function despite having installed the ‘Deep Learning Toolbox model for MobileNet-v2 Network’.
You can check for any other files existing with the same name shadowing the built-in ‘mobilenetv2’ function. You can do this by typing the following command in your MATLAB command window.
which mobilenetv2 -all
Please note that the filepath for the internal ‘mobilenetv2’ function would like: C:\Program Files\MATLAB\R2022b\toolbox\nnet\cnn\spkgs\mobilenetv2.m
If multiple files exist, you will be required to use a different filename for all the files which do not implement MATLAB’s internal ‘mobilenetv2’ function.
Once all conflicts are resolved, you will be able to use ‘mobilenetv2’ on your MATLAB Desktop.
Hope this helps.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!