imageInputLayer Normalization - Data normalization options

11 ビュー (過去 30 日間)
Andrea Daou
Andrea Daou 2021 年 8 月 27 日
コメント済み: Andrea Daou 2021 年 9 月 30 日
Hello,
In layer = imageInputLayer(inputSize,Name,Value), it is mentioned that the Normalization value can take 'zerocenter', 'zscore', 'rescale-zero-one', etc.
When choosing 'rescale-zero-one' as a 'Normalization' value I am getting an error telling me that only 'zerocenter' and 'none' can be taken as input for 'Normalization'. I checked imageInputLayer function and it is correct only these options exist (I am using MATLAB R2019a).
Do the other options exist in other MATLAB versions? Is it possible to use them?
Thank you in advance for your help!

採用された回答

Tomaso Cetto
Tomaso Cetto 2021 年 9 月 30 日
編集済み: Tomaso Cetto 2021 年 9 月 30 日
Hi Andrea,
The 'rescale-zero-one' normalization option was added in R2019b, so you would need to update to at least that release to be able to make use of it!
Tomaso
  1 件のコメント
Andrea Daou
Andrea Daou 2021 年 9 月 30 日
Hi Tamaso,
Thank you for this information!

サインインしてコメントする。

その他の回答 (1 件)

yanqi liu
yanqi liu 2021 年 9 月 27 日
sir,may be you should update MATLAB version, such as 2021
inputlayer = imageInputLayer([28 28 3],'Name','input', 'Normalization', 'rescale-zero-one')
inputlayer =
ImageInputLayer with properties: Name: 'input' InputSize: [28 28 3] Hyperparameters DataAugmentation: 'none' Normalization: 'rescale-zero-one' NormalizationDimension: 'auto' Max: [] Min: []
  1 件のコメント
Andrea Daou
Andrea Daou 2021 年 9 月 28 日
Okay I will try although I have MATLAB 2019a.
Thank you for your help.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by