Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Doubt about data augmentation #52

Open
BrunoKrinski opened this issue Oct 6, 2020 · 1 comment
Open

Doubt about data augmentation #52

BrunoKrinski opened this issue Oct 6, 2020 · 1 comment

Comments

@BrunoKrinski
Copy link

Hi!

I will perform some experiments with data augmentation and I need to train the network without any data augmentation as baseline. I would like to confirm with removing the following lines of semantic.yml file will perform the train without any data augmentation:

    - &hard_transforms
      transform: A.Compose
      transforms:
        - transform: A.ShiftScaleRotate
          shift_limit: 0.1
          scale_limit: 0.1
          rotate_limit: 15
          border_mode: 2  # cv2.BORDER_REFLECT
        - transform: A.OneOf
          transforms:
            - transform: A.HueSaturationValue
            - transform: A.ToGray
            - transform: A.RGBShift
            - transform: A.ChannelShuffle
        - transform: A.RandomBrightnessContrast
          brightness_limit: 0.5
          contrast_limit: 0.5
        - transform: A.RandomGamma
        - transform: A.CLAHE
        - transform: A.ImageCompression
          quality_lower: 50

Thanks!

@Scitator
Copy link
Member

Scitator commented Oct 7, 2020

Yup, that looks like correct.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants