gradCAM() unclear error message
3 ビュー (過去 30 日間)
古いコメントを表示
Christopher McCausland
2023 年 2 月 6 日
コメント済み: Christopher McCausland
2023 年 2 月 11 日
Hi,
I am trying to use the gradCAM() function on my own data (attached).
when I run the following command;
map = gradCAM(net,features,label)
%Error ==> Network input layer must be an imageInputLayer or image3dInputLayer.
however the documentation clearly states a SequenceInputLayer can be used and gives an eample. I believe my net conforms to all input argument requirements and appears to input the same way as the SequenceInputLayer example.
What is causing this error?
0 件のコメント
採用された回答
Sai Sumanth Korthiwada
2023 年 2 月 9 日
Hi Christopher,
I have used the attached files and the code provided above. It works fine for me without any errors in R2022b. The "net" has met all the input argument requirements; I did not notice any flags.
Try clearing out the workspace and execute the code again.
clear;
Hope this helps!
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!