资源算法IntroVAE-Pytorch

IntroVAE-Pytorch

2020-01-06 | |  40 |   0 |   0

IntroVAE-Pytorch

Pytorch Implementation for NeuraIPS2018 paper:IntroVAE: Introspective Variational Autoencoders for Photographic Image Synthesis.

The rep. contains a basic implementation for IntroVAE. However, due to no official implementation released, some hyperparameters can only be guessed and can not reach the performance as stated in paper.

HowTo

  1. Download CelebA dataset and extract it as:

├── /home/i/dbs/
	├──img_align_celeba # only one folder in this directory
		├── 050939.jpg
		├── 050940.jpg
		├── 050941.jpg
		├── 050942.jpg
		├── 050943.jpg
		├── 050944.jpg
		├── 050945.jpg

modify /home/i/dbs to your specific path, making sure that the /home/i/dbs/ comtains only ONE folder since we usetorchvision.datasets.ImageFolder API to load dataset.

    argparser.add_argument('--root', type=str, default='/home/i/dbs/',                           help='root/label/*.jpg')
  1. run python main.py  --epoch 750000 to train from strach, and use python main.py --resume '' --epoch 1000000 to resume training from latest checkpoint.

Training

only tested for CelebA 128x128 exp.

  • training curves

  • sampled x


上一篇:Skip-Thought_Memory_Networks

下一篇:intro-to-nlp-with-pytorch

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...