UOMOP
Data Augmentation(픽셀 기반) 본문
brightness_range
data_gen = ImageDataGenerator(brightness_range=(0.1, 0.9))
show_aug_image_batch(cat_3dim, data_gen, 5)
data_gen = ImageDataGenerator(brightness_range=(1.0, 2.3))
show_aug_image_batch(cat_3dim, data_gen, 5)
channel_shift_range
data_gen = ImageDataGenerator(channel_shift_range=150.0)
# -150~150사이 하나의 수를 골라 픽셀 값에 더해준다.
show_aug_image_batch(cat_3dim, data_gen, 5)
'Ai > DL' 카테고리의 다른 글
Performance Comparison according to Data Augmentation (0) | 2022.02.13 |
---|---|
Pixel value "Normalization" (0) | 2022.02.10 |
Data Augmentation(공간 기반) (0) | 2022.02.10 |
Data Augmentation(데이터 증강) 기본 (0) | 2022.02.10 |
Callback (ModelCheckpoint, ReduceLROnPlateau, EarlyStopping) (0) | 2022.02.10 |
Comments