Click4Ai

332.

Medium

Data Augmentation Pipeline

============================

Data augmentation is a technique used in deep learning to artificially increase the size of a dataset. This can be done by applying random transformations to the images in the dataset. In this problem, we will create a data augmentation pipeline to augment a dataset of images.

Example:

We have a dataset of 1000 images. We want to augment this dataset by applying random rotations, flips, and zooms.

Constraints:

  • The dataset has 1000 images.
  • The images are in RGB format.
  • The images have a resolution of 224x224 pixels.
  • Test Cases

    Test Case 1
    Input: ImageDataGenerator(...)
    Expected: ImageDataGenerator(...)
    Test Case 2
    Input: ImageDataGenerator(...)
    Expected: ImageDataGenerator(...)
    + 3 hidden test cases