how does 'DataAugmentation' option in pixelLabelImageDatastore work?

1 回表示 (過去 30 日間)
Marco Festugato
Marco Festugato 2019 年 9 月 20 日
回答済み: Shivam Sardana 2019 年 9 月 23 日
Hello,
I don't understand how 'pixelLabelDatastore' works when training a U-net using augmented data. I know that the code is the following:
ds = pixelLabelImageSource(imds,pxds,'DataAugmentation',imageAugmenter);
net = trainNetwork(ds,lgraph,options);
Is the U-net trained now using augmented data, or are the augmented images used only when calculating the loss in the mini-batches (and not for training)?
Thanks in advance for any answer!

回答 (1 件)

Shivam Sardana
Shivam Sardana 2019 年 9 月 23 日
As mentioned in pixelLabelDatastore documentation, ‘DatatAugemtation’ parameter augments data during training. So, U-net is trained on augmented data now.

カテゴリ

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