GithubHelp home page GithubHelp logo

mc_gan's Introduction

Semantic Image Synthesis via Adversarial Learning

This is a PyTorch implementation of the paper MC-GAN: Multi-conditional Generative Adversarial Network for Image (BMVC 2018).

Model architecture

Requirements

Model1

please download a pre-trained model bird and base image for training base_img_bird, base_img_flower

Additional Datasets

Prepare the Caltech-200 birds dataset and Oxford-102 flowers dataset for reproducing main results in this repository

Run Model1

Train a MC-GAN model on the bird (CUB) dataset using our preprocessed embeddings: python main.py --cfg cfg/birds_3stages.yml --gpu 0

Test a MC-GAN model

Change cfg/*.yml files to generate images from pre-trained models.

  1. Train.flag = False
  2. Train.net_G = 'path of pre-trianed model'

result

Brids Brids Brids Brids

Model2

please download a pre-trained model bird and text embedding model

Run Model2

  • Text embdding
    • run train_text_embeddng.py
  • Train Generative model
    • run train_MCb.py
  • Test
    • run test.py

please follow result in this repository

Results

Birds Birds Birds Birds Birds Birds Birds Birds

##Citing MC-GAN

If you find MC-GAN useful in your research, please consider citing:

@inproceedings{park2018mc,
  title={MC-GAN: Multi-conditional Generative Adversarial Network for Image Synthesis},
  author={Park, Hyojin and Yoo, Youngjoon and Kwak, Nojun},
  booktitle={The British MachineVision Conference (BMVC)},
  year={2018}
}

Acknowledgements

mc_gan's People

Contributors

hyojinpark avatar

Stargazers

Koki Shibata avatar  avatar DongJu Kim avatar  avatar  avatar Jacopo Parvizi avatar  avatar MuhammadAnwar avatar Samyak  avatar mengliYuan avatar CWKim avatar Miguel Xochicale, PhD avatar  avatar  avatar sudo avatar  avatar  avatar  avatar  avatar RuiLiu avatar 爱可可-爱生活 avatar Pratham Solanki avatar Cheng-Bin Jin avatar Junho Kim avatar  avatar Wentao Jiang avatar  avatar  avatar Juwan Kim avatar Qinghao Huang avatar  avatar Tao Yu avatar hner avatar Martin Duarte More avatar Mahmoud Rusty Abdelkader avatar William Shiao avatar Ko Dae Won avatar GeonseokSeo avatar Michael Yue avatar Daria Pydorenko avatar gouyuchuan355 avatar LUO Hao avatar Adam Goh avatar Qi Cui avatar YoungJoon Yoo avatar

Watchers

James Cloos avatar YoungJoon Yoo avatar  avatar paper2code - bot avatar

mc_gan's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.