How do I Verify Robustness of Deep Learning Neural Network with custom data?

4 ビュー (過去 30 日間)
SATISH SONWANE
SATISH SONWANE 2023 年 5 月 4 日
回答済み: Ranjeet 2023 年 5 月 12 日
I want to repurpose method given here for the custom dataset. I have a folder full of greyscale images with foldernames as theire respective labels. And I have a dlnetwork pretrained and ready to be used.
From what I understand I will have to convert my dataset to usable form. The exampe given uses 'digitTest4DArrayData'. My question is how do I convert my data in the said format? Or is there any way I can use what I have and still make it work?

採用された回答

Ranjeet
Ranjeet 2023 年 5 月 12 日
verifyNetworkRobustness uses dlarray as inputs for lower and upper limits. As shown in the example, the input images have been converted to dlarray before feeding into verifyNetworkRobustness function.
Based on the type of data, different dlarray data formats are possible as mentioned in the following documentation –
It is advised to first decide on what data format is suitable, and then convert the input to dlarray.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by