SphereGAN-Tensorflow

Simple Tensorflow implementation of SphereGAN (CVPR 2019 Oral)

Usage

  • mnist and cifar10 are used inside keras
  • For your dataset, put images like this:
├── dataset
   └── YOUR_DATASET_NAME
       ├── xxx.jpg (name, format doesn't matter)
       ├── yyy.png
       └── ...

Train

> python main.py --dataset mnist --gan_type sphere --phase train

Test

> python main.py --dataset mnist --gan_type sphere --phase test

Analysis

Inverse of stereographic projection

isp_alg

Moment mode

moment

Results

Score

result-1

Image (64x64)

  • The paper only posted the results for 32x32 images, but I also tried 64x64

Mnist

mnist_64

Cifar10

cifar10_64

Lsun bedroom

lsun_64

CelebA

celebA_64

Author

Junho Kim

GitHub