IQT icon indicating copy to clipboard operation
IQT copied to clipboard

Questions about PIPAL_augment.txt

Open k-zha14 opened this issue 3 years ago • 1 comments

HI, guys! Could anyone explain why the author resample training images in different times? For example, I find the 'A0003_03_22.bmp' repeat 3 times in 'PIPAL_augment.txt' file. is there any interesting reason? XD

k-zha14 avatar Feb 17 '22 09:02 k-zha14

I think it is for the data augmentation by adding repetitive training samples.

RandCrop & RandHorizontalFlip & RandRotation

Codes:

transforms.Compose([RandCrop(config.crop_size), Normalize(0.5, 0.5), RandHorizontalFlip(), RandRotation(), ToTensor()])

In the paper:

Data augmentation including horizontal flip and random rotation is applied during the training.

cenjinglun avatar Mar 02 '22 12:03 cenjinglun