imageInputLayer normalization problem matlab

4 ビュー (過去 30 日間)
Tien Nguyen Van
Tien Nguyen Van 2020 年 7 月 20 日
回答済み: Dinesh Yadav 2020 年 7 月 22 日
Hi everyone
can you help me use this function in matlab?
i am using imageInputLayer(imageSize,'Normalization','zscore') in training network
but i dont know how to implement this function in my own code.
i use these function to do the same thing with imageInputLayer(imageSize,'Normalization','zscore')
1. x = (x-mean(x))./std(x);
2. x = normalize(x,'zscore');
can you tell me is this correct?
thank you

採用された回答

Dinesh Yadav
Dinesh Yadav 2020 年 7 月 22 日
Hi what you are doing is correct but I will not recommend this method. Kindly have a look at the following example and see how how its implemented inside a model.
Also you can start with Deep Learning Onramp which is free and will give you all basics you need to know for building and testing and applying models.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by