Train the DCGAN model on the CelebA celebrity face dataset and watch faces become progressively more realistic across training steps.
Supply your own folder of images and train the model to generate new images that look like they belong to your custom dataset.
Reproduce the 2015 DCGAN research paper results using the provided command-line training scripts on standard benchmark datasets.
Requires TensorFlow 0.12.1, an old version that is difficult to install on modern Python environments without significant workarounds.
This repository contains a Python implementation of Deep Convolutional Generative Adversarial Networks, or DCGAN, a type of machine learning model that can generate realistic-looking images from scratch. The code uses TensorFlow, a framework for building and running machine learning models. The core idea behind a GAN (Generative Adversarial Network) is that two neural networks train against each other. One network, called the Generator, tries to create fake images that look real. The other, called the Discriminator, tries to tell the difference between real and fake images. Over time, the Generator improves at producing convincing images as it learns what the Discriminator flags as suspicious. The "deep convolutional" part refers to a specific network structure that works well for image data. This implementation was trained and tested on two main datasets: CelebA, a large dataset of celebrity face photos, and MNIST, a dataset of handwritten digit images. The README shows the output at different training stages: faces that become progressively more realistic after each pass through the data. You can also supply your own image folder and train the model on custom images. Setup requires Python, an older version of TensorFlow (0.12.1), and a few image-processing libraries. Training runs from the command line, and the README includes the exact commands for each dataset. The repository is based on a 2015 research paper that introduced the DCGAN architecture and references a related project that uses the same technique to fill in missing regions of photographs. The author also maintains several related generative model implementations linked at the bottom of the README.
← carpedm20 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.