Skip to content

Commit

Permalink
update MNIST experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
shaform committed Nov 5, 2017
1 parent da79f43 commit 5064c8e
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 169 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This repository implements the following:
* Improved Training of Wasserstein GANs: [paper](https://arxiv.org/abs/1704.00028), [code](https://github.com/igul222/improved_wgan_training)
* Deep Regret Analytic Generative Adversarial Networks: [paper](https://arxiv.org/abs/1705.07215), [code](https://github.com/kodalinaveen3/DRAGAN)
* Conditional Image Synthesis With Auxiliary Classifier GANs: [paper](https://arxiv.org/abs/1610.09585)
* Learning to Discover Cross-Domain Relations with Generative Adversarial Networks: [paper](https://arxiv.org/pdf/1703.05192.pdf), [code](https://github.com/SKTBrain/DiscoGAN)
* Learning to Discover Cross-Domain Relations with Generative Adversarial Networks: [paper](https://arxiv.org/abs/1703.05192), [code](https://github.com/SKTBrain/DiscoGAN)
* Minibatch Stat Concatenation: [paper](https://arxiv.org/abs/1710.10196), [code](https://github.com/tkarras/progressive_growing_of_gans)

## Requirements
Expand Down
3 changes: 2 additions & 1 deletion deep_networks/models/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,10 @@ def __init__(self,
with tf.variable_scope('conv{}'.format(i + 1)):
if i == len(downsamples) - 1:
stds = std_eps(outputs)
stds = tf.reduce_mean(stds, axis=-1, keep_dims=True)
stds = tf.tile(stds,
tf.concat(
[tf.shape(outputs)[:-1], [1]],
[tf.shape(outputs)[:1], [1, 1, 1]],
axis=0))
outputs = tf.concat([outputs, stds], axis=-1)

Expand Down
209 changes: 68 additions & 141 deletions notebooks/GAN - MNIST.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 5064c8e

Please sign in to comment.