README_en.md 6.1 KB
Newer Older
Q
qingqing01 已提交
1

L
LielinJiang 已提交
2
English | [简体中文](./README.md)
L
LielinJiang 已提交
3 4 5

# PaddleGAN

L
LaraStuStu 已提交
6 7 8
PaddleGAN provides developers with high-performance implementation of classic and SOTA Generative Adversarial Networks, and support developers to quickly build, train and deploy GANs for academic, entertainment and industrial usage.

GAN-Generative Adversarial Network, was praised by "the Father of Convolutional Networks"  **Yann LeCun (Yang Likun)**  as **[One of the most interesting ideas in the field of computer science in the past decade]**. It's one the research area in deep learning that AI researchers are most concerned about.
L
LielinJiang 已提交
9

Q
qingqing01 已提交
10
<div align='center'>
L
LaraStuStu 已提交
11
  <img src='./docs/imgs/ppgan.jpg'>
Q
qingqing01 已提交
12 13
</div>

L
LaraStuStu 已提交
14
[![License](https://img.shields.io/badge/license-Apache%202-red.svg)](LICENSE)![python version](https://img.shields.io/badge/python-3.6+-orange.svg)
L
LielinJiang 已提交
15

L
LaraStuStu 已提交
16 17 18 19

## Recent Contributors
[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/0)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/0)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/1)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/1)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/2)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/2)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/3)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/3)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/4)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/4)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/5)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/5)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/6)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/6)[![](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/images/7)](https://sourcerer.io/fame/LaraStuStu/paddlepaddle/paddlegan/links/7)

L
LaraStuStu 已提交
20
## Quick Start
Q
qingqing01 已提交
21

L
LaraStuStu 已提交
22 23 24 25
* Please refer [install](./docs/en_US/install.md) to ensure you sucessfully installed PaddlePaddle and PaddleGAN.

* Get started through ppgan.app interface:

Q
qingqing01 已提交
26 27 28 29 30 31
   ```python
   from ppgan.apps import RealSRPredictor
   sr = RealSRPredictor()
   sr.run("docs/imgs/monarch.png")
   ```
* More applications, please refer to [ppgan.apps apis](./docs/en_US/apis/apps.md)
L
LaraStuStu 已提交
32 33 34 35 36 37 38 39 40 41
* More tutorials:
  - [Data preparation](./docs/en_US/data_prepare.md)
  - [Training/Evaluating/Testing basic usage](./docs/zh_CN/get_started.md)

## Model Tutorial

* [Pixel2Pixel](./docs/en_US/tutorials/pix2pix_cyclegan.md)
* [CycleGAN](./docs/en_US/tutorials/pix2pix_cyclegan.md)
* [PSGAN](./docs/en_US/tutorials/psgan.md)
* [First Order Motion Model](./docs/en_US/tutorials/motion_driving.md)
42
* [FaceParsing](./docs/en_US/tutorials/face_parse.md)
Q
qingqing01 已提交
43
* [AnimeGANv2](./docs/en_US/tutorials/animegan.md)
Q
qingqing01 已提交
44
* [U-GAT-IT](./docs/en_US/tutorials/ugatit.md)
L
LaraStuStu 已提交
45 46 47 48 49 50 51 52

## Composite Application

* [Video restore](./docs/zh_CN/tutorials/video_restore.md)

## Examples

### Image Translation
L
LielinJiang 已提交
53

Q
qingqing01 已提交
54
<div align='center'>
L
LaraStuStu 已提交
55
  <img src='./docs/imgs/horse2zebra.gif'width='700' height='200'/>
Q
qingqing01 已提交
56
</div>
L
LielinJiang 已提交
57

L
LaraStuStu 已提交
58
### Old video restore
Q
qingqing01 已提交
59
<div align='center'>
L
LaraStuStu 已提交
60
  <img src='./docs/imgs/color_sr_peking.gif' width='700'/>
Q
qingqing01 已提交
61
</div>
L
LielinJiang 已提交
62

L
LaraStuStu 已提交
63

L
LielinJiang 已提交
64
### Motion driving
Q
qingqing01 已提交
65
<div align='center'>
L
LielinJiang 已提交
66
  <img src='./docs/imgs/first_order.gif' width='700'>
Q
qingqing01 已提交
67
</div>
L
LielinJiang 已提交
68

L
LaraStuStu 已提交
69
### Super resolution
L
LielinJiang 已提交
70

L
LaraStuStu 已提交
71 72 73
<div align='center'>
  <img src='./docs/imgs/sr_demo.png'width='700' height='250'/>
</div>
L
LielinJiang 已提交
74 75


L
LaraStuStu 已提交
76
### Makeup shifter
L
LielinJiang 已提交
77

L
LaraStuStu 已提交
78 79 80
<div align='center'>
  <img src='./docs/imgs/makeup_shifter.png'width='700' height='250'/>
</div>
L
LielinJiang 已提交
81 82


L
LielinJiang 已提交
83 84 85 86 87 88
### Face cartoonization

<div align='center'>
  <img src='./docs/imgs/ugatit.png'width='700' height='250'/>
</div>

Q
qingqing01 已提交
89 90 91 92 93 94
### Photo animation

<div align='center'>
  <img src='./docs/imgs/animeganv2.png'width='700' height='250'/>
</div>

L
LaraStuStu 已提交
95
## Changelog
L
LielinJiang 已提交
96

L
LaraStuStu 已提交
97 98 99
- v0.1.0 (2020.11.02)
  - Release first version, supported models include Pixel2Pixel, CycleGAN, PSGAN. Supported applications include video frame interpolation, super resolution, colorize images and videos, image animation.
  - Modular design and friendly interface.
Q
qingqing01 已提交
100

L
LielinJiang 已提交
101
## Community
L
LielinJiang 已提交
102

L
LielinJiang 已提交
103
Scan OR Code below to join [PaddleGAN QQ Group:1058398620], you can get offical technical support  here and communicate with other developers/friends. Look forward to your participation!
L
LielinJiang 已提交
104

L
LaraStuStu 已提交
105 106 107
<div align='center'>
  <img src='./docs/imgs/qq.png'width='250' height='300'/>
</div>
Q
qingqing01 已提交
108

L
LielinJiang 已提交
109 110 111 112 113 114 115
### PaddleGAN Special Interest Group(SIG)

It was first proposed and used by [ACM(Association for Computing Machinery)](https://en.wikipedia.org/wiki/Association_for_Computing_Machinery) in 1961. Top International open source organizations including [Kubernates](https://kubernetes.io/) all adopt the form of SIGs, so that members with the same specific interests can share, learn knowledge and develop projects. These members do not need to be in the same country/region or the same organization, as long as they are like-minded, they can all study, work, and play together with the same goals~

PaddleGAN SIG is such a developer organization that brings together people who interested in GAN. There are frontline developers of PaddlePaddle, senior engineers from the world's top 500, and students from top universities at home and abroad.

We are continuing to recruit developers interested and capable to join us building this project and explore more useful and interesting applications together.
Q
qingqing01 已提交
116

Q
qingqing01 已提交
117 118 119 120
SIG contributions:

- [zhen8838](https://github.com/zhen8838): contributed to AnimeGANv2.
- [Jay9z](https://github.com/Jay9z): contributed to DCGAN and updated install docs, etc.
Q
qingqing01 已提交
121
- [HighCWu](https://github.com/HighCWu): contributed to c-DCGAN and WGAN. Support to use `paddle.vision.datasets`.
Q
qingqing01 已提交
122

L
LielinJiang 已提交
123 124 125 126 127

## Contributing

Contributions and suggestions are highly welcomed. Most contributions require you to agree to a [Contributor License Agreement (CLA)](https://cla-assistant.io/PaddlePaddle/PaddleGAN) 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.
128
For more, please reference [contribution guidelines](docs/en_US/contribute.md).
Q
qingqing01 已提交
129 130 131

## License
PaddleGAN is released under the [Apache 2.0 license](LICENSE).