画像分類 評価 検証
    2 views (last 30 days)
  
       Show older comments
    
ディープラーニングにより画像分類をして
最後検証を行うと思ったのですができないです.
学習後のデータをsave('sindou.mat','net','-v7.3');で保存しているつもりなのですが。
こちらの最後の検証を参考にしたのですがnetから検証しているため自分のデータのみで検証したいと考えています。
a_image = [224,224,3];
im_test = imread("test110%.jpg");
im=imresize(im_test,a_image(1:2));
figure(1);
image(im);
label=classify(sindou,im);
関数または変数 'sindou' が認識されません。
title(char(label));
0 Comments
Accepted Answer
  Kojiro Saito
    
      
 on 15 Jul 2022
        save('sindou.mat','net','-v7.3')では、ファイル名はsindou.matとなりますが、中に含まれる変数名はnetとなっています。
load('sindou.mat')
の後、ワークスペースを見るとnetという変数があると思います。
classifyの第1引数をnetに変更してみてください。
label=classify(net,im);
0 Comments
More Answers (0)
See Also
Categories
				Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!