GitXplorerGitXplorer
t

image_augmentation

public
5 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
d1f8cc35cf25438556e7934e8e6c78827819ea9d

Add TFRC acknowledgement note in README.md

sswghosh committed 4 years ago
Unverified
dd70ab21ae9a2ae6cc6687dfdea4b3a9443df2d9

Updated line numbers in README links

sswghosh committed 4 years ago
Unverified
ebbf57958c1f262aec2152d47b259312829b49c6

Updated preprocessing/README.md

sswghosh committed 4 years ago
Unverified
5e3cbf5c3bc5922137f4f902b3afb697a821b269

Updated preprocessing/README.md

sswghosh committed 4 years ago
Unverified
8abc79b870381675ae9362d48fe4e84425718d51

Updated docs for image_ops_test

sswghosh committed 4 years ago
Unverified
7e758f907e0c8c49900174938728252cbf9676e4

Update docs for layers

sswghosh committed 4 years ago

README

The README file for this repository.

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