资源算法IntroVAE-Pytorch

IntroVAE-Pytorch

2020-01-06 | |  80 |   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

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • allennlp-playground

    allennlp-playground