/PaddleGAN

Primary LanguagePython

English | 简体中文

PaddleGAN

PaddleGAN is an development kit of Generative Adversarial Network based on PaddlePaddle.

Image Translation

Makeup shifter

Old video restore

Super resolution

Motion driving

Features:

  • Highly Flexible:

    Components are designed to be modular. Model architectures, as well as data preprocess pipelines, can be easily customized with simple configuration changes.

  • Rich applications:

    PaddleGAN provides rich of applications, such as image generation, image restore, image colorization, video interpolate, makeup shifter.

Install

1. install paddlepaddle

PaddleGAN work with:

  • PaddlePaddle >= 2.0.0-rc
  • Python >= 3.5+
pip install -U paddlepaddle-gpu

2. install ppgan

python -m pip install 'git+https://github.com/PaddlePaddle/PaddleGAN.git'

Or install it from a local clone

git clone https://github.com/PaddlePaddle/PaddleGAN
cd PaddleGAN

pip install -v -e .  # or "python setup.py develop"

Data Prepare

Please refer to data prepare for dataset preparation.

Get Start

Please refer get started for the basic usage of PaddleGAN.

Model tutorial

License

PaddleGAN is released under the Apache 2.0 license.

Contributing

Contributions and suggestions are highly welcomed. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA. Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. For more, please reference contribution guidelines.

External Projects

External gan projects in the community that base on PaddlePaddle: