MATLAB Answers

0

how does 'DataAugmentation' option in pixelLabelImageDatastore work?

Asked by Marco Festugato on 20 Sep 2019
Latest activity Answered by Shivam Sardana on 23 Sep 2019
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 Comments

Sign in to comment.

1 Answer

Answer by Shivam Sardana on 23 Sep 2019

As mentioned in pixelLabelDatastore documentation, ‘DatatAugemtation’ parameter augments data during training. So, U-net is trained on augmented data now.

  0 Comments

Sign in to comment.