All Projects → yaxingwang → Transferring Gans

yaxingwang / Transferring Gans

ECCV2018

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Transferring Gans

Op practice book
📚 《运维实践指南》持续更新中,推荐大牛干货博客 https://me.csdn.net/g2V13ah
Stars: ✭ 317 (+487.04%)
Mutual labels:  practice
Website
Risk-First Software Development
Stars: ✭ 609 (+1027.78%)
Mutual labels:  practice
Tensorflow In Practice
Code based in TensorFlow
Stars: ✭ 43 (-20.37%)
Mutual labels:  practice
Angular Performance Checklist
⚡ Cheatsheet for developing lightning fast progressive Angular applications
Stars: ✭ 3,725 (+6798.15%)
Mutual labels:  practice
Vim Practice
💘 Vim is awesome! Here is my practice and study log.
Stars: ✭ 452 (+737.04%)
Mutual labels:  practice
Pandas exercises
Practice your pandas skills!
Stars: ✭ 7,140 (+13122.22%)
Mutual labels:  practice
Confcodeofconduct.com
A code of conduct template for conferences
Stars: ✭ 303 (+461.11%)
Mutual labels:  diversity
Php Exercises
Some tricky php exercises and interview questions
Stars: ✭ 49 (-9.26%)
Mutual labels:  practice
Awesome Diversity
A curated list of amazingly awesome articles, websites and resources about diversity in technology.
Stars: ✭ 504 (+833.33%)
Mutual labels:  diversity
Awesome Competitive Programming
💎 A curated list of awesome Competitive Programming, Algorithm and Data Structure resources
Stars: ✭ 9,119 (+16787.04%)
Mutual labels:  practice
Msgan
MSGAN: Mode Seeking Generative Adversarial Networks for Diverse Image Synthesis (CVPR2019)
Stars: ✭ 366 (+577.78%)
Mutual labels:  diversity
Rx5808 Pro Diversity
DIY project to create your own 5.8ghz FPV diversity basestation - based off the rx5808 receiver module. Project includes basic Arduino Nano implementation to advanced custom PCB board and introduction to digital switches 4066 chip.
Stars: ✭ 412 (+662.96%)
Mutual labels:  diversity
Diversidad Media
Diversidad Media is a platform to generate more diverse spaces, through Movies, Books, Music, and others. The project is in fast growth and there are many things to do. We are still covering the basics.
Stars: ✭ 17 (-68.52%)
Mutual labels:  diversity
Go Project Sample
Introduce the best practice experience of Go project with a complete project example.通过一个完整的项目示例介绍Go语言项目的最佳实践经验.
Stars: ✭ 344 (+537.04%)
Mutual labels:  practice
Python Beginner Programming Exercises
Practice your Python programming skills with this interactive and auto-graded set of exercises.
Stars: ✭ 47 (-12.96%)
Mutual labels:  practice
Deslib
A Python library for dynamic classifier and ensemble selection
Stars: ✭ 316 (+485.19%)
Mutual labels:  diversity
Example.v2
An example project for book 'Go Programming & Concurrency in Practice, 2nd edition' (《Go并发编程实战》第2版).
Stars: ✭ 722 (+1237.04%)
Mutual labels:  practice
Learnandroid
学习新知识的过程中练习的项目
Stars: ✭ 50 (-7.41%)
Mutual labels:  practice
Contributor covenant
Pledge your respect and appreciation for contributors of all kinds to your open source project.
Stars: ✭ 1,044 (+1833.33%)
Mutual labels:  diversity
Dlow
Official PyTorch Implementation of "DLow: Diversifying Latent Flows for Diverse Human Motion Prediction". ECCV 2020.
Stars: ✭ 32 (-40.74%)
Mutual labels:  diversity

Transferring GANs generating images from limited data

Abstract:

Transferring the knowledge of pretrained networks to new domains by means of finetuning is a widely used practice for applications based on discriminative models. To the best of our knowledge this practice has not been studied within the context of generative deep networks. Therefore, we study domain adaptation applied to image generation with generative adversarial networks. We evaluate several aspects of domain adaptation, including the impact of target domain size, the relative distance between source and target domain, and the initialization of conditional GANs. Our results show that using knowledge from pretrained networks can shorten the convergence time and can significantly improve the quality of the generated images, especially when the target data is limited. We show that these conclusions can also be drawn for conditional GANs even when the pretrained model was trained without conditioning. Our results also suggest that density may be more important than diversity and a dataset with one or few densely sampled classes may be a better source model than more diverse datasets such as ImageNet or Places.

Overview

Dependences

Installation

  • Install tensorflow
  • Opencv

Instructions

  • Using 'git clone https://github.com/yaxingwang/Transferring-GANs'

    You will get new folder whose name is 'Transferring-GANs' in your current path, then use 'cd Transferring-GANs' to enter the downloaded new folder

  • Download pretrain modelsGoogle driver; Tencent qcloud

    Uncompressing downloaded folder to current folder, then you have new folder 'transfer_model' which contains two folders: 'conditional', 'unconditional', each of which has four folders: 'imagenet', 'places', 'celebA', 'bedroom'

  • Download dataset or use your dataset.

    I have shown one example and you could make it with same same form.

  • Run 'python transfer_gan.py'

    Runing code with default setting. The pretrained model can be seleted by changing the parameter 'TARGET_DOMAIN'

  • Conditional GAN If you are interested in using conditional model, just setting parameter 'ACGAN = True'

Results

Using pretrained models not only get high performance, but fastly attach convergence. In following figure, we show conditional and unconditional settings.

References

Contact

If you run into any problems with this code, please submit a bug report on the Github site of the project. For another inquries pleace contact with me: [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].