how does 'DataAugmentation' option in pixelLabelImageDatastore work?
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!