Skip to content

Experiments with basic GANs on PyTorch and attempt to generate frogs images using them.

Notifications You must be signed in to change notification settings

andrii0yerko/frogs-gan

Repository files navigation

Frogs GAN

Experiments with basic GANs and attempt to generate frogs images using them.

Data

Frog Dataset was used, which contains frog images (mainly) on the white background of sizes 64x64 and 224x224. It also contains raw pictures and a script for preprocessing, but it wasn't the case for my experiments.

Augmentation • nbviewerGoogle Colab

Data loading consists of random augmentation of 224x224 images, resizing them to 64x64, and using a gaussian blur to make them more smooth (looks like discriminator can easily overfit to sharp edges)

Trained models

Models are trained on Google Colab (with Tesla T4)

Time per epoch includes time spent on data loading and preprocessing, which should be the same for all the runs.

Model Time per epoch Best checkpoint FID IS best FID
DCGAN 56.08 s 1000 54.1756 4.7795 47.7449 (1180)
SNGAN 57.13 s 1200 54.9516 4.7813 52.9301 (1340)

DCGAN • nbviewerGoogle Colab

training progress (click or reload the page if you don't see the gif)

SNGAN • nbviewerGoogle Colab

training progress (click or reload the page if you don't see the gif)

First version (with much simpler augmentation)

Left for comparison.

1. DCGAN with PyTorch

nbviewer, Google Colab

Attempt to build a Deep Convolutional GAN with original architecture to generate pictures of frogs 64x64.

About

Experiments with basic GANs on PyTorch and attempt to generate frogs images using them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published