ImprovedGAN-pytorch  by Sleepychord

Semi-supervised GAN implementation from a research paper

Created 7 years ago
307 stars

Top 87.3% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a PyTorch implementation of the Semi-supervised Generative Adversarial Network (GAN) described in the paper "Improved Techniques for Training GANs." It targets researchers and practitioners in generative modeling and semi-supervised learning, offering a proven approach for achieving high accuracy on image datasets with limited labeled data.

How It Works

The implementation leverages a semi-supervised GAN architecture that incorporates feature matching. This technique encourages the generator to produce realistic fake samples within high-density regions of the feature space. By doing so, the fake data effectively splits the boundaries between different classes, enhancing the discriminative power of the classifier and improving semi-supervised learning performance.

Quick Start & Requirements

Highlighted Details

  • Achieves 98.5% accuracy on MNIST with only 100 labeled samples and 59,000 unlabeled samples after 100 epochs.
  • Addresses exploding gradient issues found in OpenAI's original implementation by changing the generator's final layer from Sigmoid to Softplus.
  • Utilizes Weight Normalization in network architectures, a key component for stability and performance.

Maintenance & Community

  • Last updated November 27, 2019, with updates to PyTorch 1.2 and Python 3.7.
  • Previous versions for PyTorch 0.3 and Python 2.7 are available in commit history.

Licensing & Compatibility

  • The repository does not explicitly state a license in the provided README.

Limitations & Caveats

The project was last updated in late 2019, and the README notes that previous attempts to reproduce expected results were challenging, suggesting potential stability or reproducibility issues that may have been addressed by the author's modifications.

Health Check
Last Commit

5 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Lilian Weng Lilian Weng(Cofounder of Thinking Machines Lab), Patrick Kidger Patrick Kidger(Core Contributor to JAX ecosystem), and
12 more.

glow by openai

0.1%
3k
Generative flow research paper code
Created 7 years ago
Updated 1 year ago
Feedback? Help us improve.