How To Test my CNN system

조회 수: 78(최근 30일)
Mustapha Mahmoud
Mustapha Mahmoud 2021년 1월 22일
댓글: Shashank Gupta 2021년 3월 8일
Kindly, I created a system using the Network designer (CNN) and it gave me accuracy 95% :) . I pressed export Matlab Code and things went well.
However, How can I test my code for new images? in other words how can I test my system for new stuff?
Appreciating your kind cooperation.


Anmol Dhiman
Anmol Dhiman 2021년 1월 27일
편집: Anmol Dhiman 2021년 1월 27일
Hi Mustapha,
The steps are
1) Train model on DeepNetworkDesigner
2) Export Network to workspace(It will give lgraph, you need to convert lgraph to net)
3) AssembleNetwork(lgraph) (this will convert to network)
4) Use the above link to predict the image output.
Hope it helps
  댓글 수: 2
Shashank Gupta
Shashank Gupta 2021년 3월 8일
I think what @Anmol Dhiman implies by step 2 is to export the network. Looking at your comment, it seems like you exported the training script, you don't need to export the training script. you can simply the train the model in deep network designer with pretty UI and then just export the trained network. I think after that the above answer sums up your query.
I hope this helps.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by