Skip to content

tanzhenyu/image_augmentation

Repository files navigation

Image Augmentation

TensorFlow 2 implementation of curated image augmentation techniques for improving regularization and accuracy of modern classifiers trained using popular CNN architectures. The data augmentation strategies were automatically searched from the data using policy optimisation methods and discrete state space search opposed to manually designed random data augmentation operations. The augmentation policies learned from the data vastly increases validation accuracy of the image classifiers.

In this repository, we provide implementation for the following research papers (both papers are authored by the Google Brain team):

Some parts of this work have been accelerated with the help of Cloud TPU resources provided by the TensorFlow Research Cloud.

Components

This project is currently a work in progress and includes the following components as of now.

Datasets

The following are the list of datasets that we're currently looking at for augmentation policy search and image classification:

  1. CIFAR-10, Reduced CIFAR-10
  2. CIFAR-100
  3. SVHN, Reduced SVHN
  4. ImageNet (ILSVRC 2012), Reduced ImageNet

Installation

The pre-requisites for this project include installation of TensorFlow v2.3 or tf-nightly package. Additional dependencies include TFDS-nightly and TFA-nightly, both of which require pre-release versions.

git clone https://github.com/tanzhenyu/image_augmentation
cd image_augmentation
pip3 install -r requirements.txt
python3 setup.py install

Tests

Post installation, the tests can be run as follows:

cd image_augmentation
pipenv install --dev --skip-lock --pre 
pipenv shell pytest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published