Giter Site home page Giter Site logo

lzy9982 / person_generation_spt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sijiesong/person_generation_spt

0.0 1.0 0.0 1.76 MB

PyTorch Implementation for Unsupervised Person Image Generation with Semantic Parsing Transformation

Python 99.76% Shell 0.24%

person_generation_spt's Introduction

person_generation_spt

Example

Unsupervised Person Image Generation with Semantic Parsing Transformation
(CVPR 2019, oral).

Sijie Song, Wei Zhang, Jiaying Liu, Tao Mei

Project page: http://39.96.165.147/Projects/SijieSong_cvpr19/CVPR19_ssj.html

Check our our paper and supplementary here.

Prerequisites

  • Python 2 (Python 3 should also work, but needs some modification)
  • Pytorch >= 0.4.0
  • opencv-python
  • Numpy
  • Scipy
  • Pandas
  • Skimage

Getting started

A demo model is given for appearance generation. We provide some samples in "./imgs", the parsing maps are in "./parsing".

  • Clone this repo:
git clone https://github.com/SijieSong/person_generation_spt.git

cd person_generation_spt
  • Download pre-trained models from Google Drive, put ./demo_model under ./checkpoints

  • Quick testing (modify the gpu_id in ./scripts/test_demo.sh if needed)

bash ./scripts/test_demo.sh
  • Check the results in ./results/demo_test (source image | target pose (groud truth) | output)

    Example

Citation

If you use this code for your research, please cite our paper:

@inproceedings{song2019unsupervised,
  title={Unsupervised Person Image Generation with Semantic Parsing Transformation},
  author={Song, Sijie and Zhang, Wei and Liu, Jiaying and Mei, Tao},
  booktitle = {Proc.~IEEE Conference on Computer Vision and Pattern Recognition},
  year={2019}
}

Related projects

Contact

Sijie Song ssj940920 AT pku.edu.cn

person_generation_spt's People

Contributors

sijiesong avatar

Watchers

James Cloos avatar

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.