Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

ac-gan

> 编程语言
Open source

A tensorflow implementation of google's AC-GAN ( Auxiliary Classifier GAN ).

396 stars0 likes1 views
WebsiteGitHub

About

A tensorflow implementation of google's AC-GAN ( Auxiliary Classifier GAN ).

AC-GAN ( Auxiliary Classifier GAN )

A tensorflow implementation of Augustus Odena (at Google Brains) et al's "Conditional Image Synthesis With Auxiliary Classifier GANs" paper ) I've already implemented this kind of GAN structure last Sep. (See : Supervised InfoGAN tensorflow implementation) I said that I had added supervised loss(in this paper auxiliary classifier) to InfoGAN structure to achieve the consistency of generated categories and training stability. And the result was promising. It helped the model to generate consistent categories and to converge fast compared to InfoGAN. The paper which propose the same architecture by researchers at Google Brains was published last Oct.
They've provided many results from diverse data set and tried to generate big images and explained why this architecture works plausibly. I think this paper is awesome. But they did not provide source codes and I re-introduce this codes.

AC-GAN architecture( from the paper. )

Dependencies

  1. tensorflow >= rc0.11
  2. sugartensor >= 0.0.1.7

Training the network

Execute

python train.py

to train the network. You can see the result ckpt files and log files in the 'asset/train' directory. Launch tensorboard --logdir asset/train/log to monitor training process.

Generating image

Execute

python generate.py

to generate sample image. The 'sample.png' file will be generated in the 'asset/train' directory.

Generated image sample

This image was generated by AC-GAN network.

And this image was generated with categorical auxiliary classifier.

And this image was generated by continuous auxiliary classifier. You can see the rotation change along the X axis and the thickness change along the Y axis.

The following image is the loss chart in the training process. This looks more stable than my original GAN implementation.

Other resources

  1. Original GAN tensorflow implementation
  2. EBGAN tensorflow implementation
  3. Supervised InfoGAN tensorflow implementation
  4. SRGAN tensorflow implementation
  5. Timeseries gan tensorflow implementation

Authors

Namju Kim ([email protected]) at Jamonglabs Co., Ltd.

Issues· 7 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言