Skip to content

In SupeRAuGAN we implement a novel data augmentation technique tailored to Generative Adversarial Networks in order to reduce discriminator overfitting and stabilize training

License

Notifications You must be signed in to change notification settings

ABaldrati/SupeRAuGAN

Repository files navigation

SupeRAuGAN

Table of Contents

About The Project

In SupeRAuGAN we implement a novel data augmentation technique tailored to Generative Adversarial Networks in order to reduce discriminator overfitting and stabilize training. This technique was first described by Karras et al. and applied in an image generation from latent space task. We experiment such approach in a super resolution setting using a slightly modified SRGAN (described in Ledig et al.) achieving promising results when using a small amount of data.

More info about the whole project available at paper and slides

Original implementation available at repo

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

The project provide a Pipfile file that can be managed with pipenv. pipenv installation is strongly encouraged in order to avoid dependency/reproducibility problems.

  • pipenv
pip install pipenv

Installation

  1. Clone the repo
git clone https://gitlab.com/reddeadrecovery/superaugan
  1. Install Python dependencies
pipenv install

Usage

Here's a brief description of each and every file in the repo:

  • model.py: Model definition
  • data_utils.py: dataset loading utils and preprocessing
  • train.py: GAN training file
  • test.py: GAN testing file
  • augment.py: Data augmentation pipeline (taken from here)

Folders torch_utils and dnnlib are vendored dependencies of augment.py

Images

Original downsampled images on the left, ground truthimages in the center and generated images on the right

Authors

Under the supervision of Leonardo Galteri

Acknowledgments

Visual and Multimedia Recognition © Course held by Professor Alberto Del Bimbo - Computer Engineering Master Degree @University of Florence

About

In SupeRAuGAN we implement a novel data augmentation technique tailored to Generative Adversarial Networks in order to reduce discriminator overfitting and stabilize training

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published