Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

PaddleGAN

> 编程语言
Open source

PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, Wav2Lip, picture repair, image editing, photo2cartoon, i

8.0K stars0 likes0 views
WebsiteGitHub

About

PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, Wav2Lip, picture repair, image editing, photo2cartoon, i

English | 简体中文

PaddleGAN

PaddleGAN provides developers with high-performance implementation of classic and SOTA Generative Adversarial Networks, and supports 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 the one research area in deep learning that AI researchers are most concerned about.

Hot Activities

  • 2021.4.15~4.22

    GAN 7 Days Course Camp: Baidu Senior Research Developers help you learn the basic and advanced GAN knowledge in 7 days!

    Courses videos and related materials: https://aistudio.baidu.com/aistudio/course/introduce/16651

Recent Updates

  • Young or Old?:StyleGAN V2 Face Editing-Time Machine! ‍

  • Online Toturials

  • Latest Release: PP-MSVSR

    • Video Super Resolution SOTA models
  • Boy or Girl?:StyleGAN V2 Face Editing-Changing genders!

  • Online Toturials

  • ‍ A Space Odyssey :LapStyle image translation take you travel around the universe‍

    • Online Toturials
  • ‍♂️ Latest Creative Project:create magic/dynamic profile for your student ID in Hogwarts ‍♀️

    • Online Toturials
  • ** Add Face Morphing function : you can perfectly merge any two faces and make the new face get any facial expressions!**

    • Tutorials: https://aistudio.baidu.com/aistudio/projectdetail/2254031
  • Publish a new version of First Oder Motion model by having two impressive features:

    • High resolution 512x512
    • Face Enhancement
    • Tutorials: https://github.com/PaddlePaddle/PaddleGAN/blob/develop/docs/zh_CN/tutorials/motion_driving.md
  • New image translation ability--transfer photo into oil painting style:

    • Complete tutorials for deployment: https://github.com/wzmsltw/PaintTransformer

Document Tutorial

Installation

  • Environment dependence:
    • PaddlePaddle >= 2.1.0
    • Python >= 3.6
    • CUDA >= 10.1
  • Full installation tutorial

Starter Tutorial

  • Quick start
  • Data Preparation
  • Instruction of APIs
  • Instruction of Config Files

Model Tutorial

  • Pixel2Pixel
  • CycleGAN
  • LapStyle
  • PSGAN
  • First Order Motion Model
  • FaceParsing
  • AnimeGANv2
  • U-GAT-IT
  • Photo2Cartoon
  • Wav2Lip
  • Single Image Super Resolution(SISR)
    • Including: RealSR, ESRGAN, LESRCNN, PAN, DRN
  • Video Super Resolution(VSR)
    • Including: ⭐ PP-MSVSR ⭐, EDVR, BasicVSR, BasicVSR++
  • StyleGAN2
  • Pixel2Style2Pixel
  • StarGANv2
  • MPR Net
  • FaceEnhancement
  • PReNet
  • SwinIR
  • InvDN
  • AOT-GAN
  • NAFNet
  • GFPGan
  • GPEN

Composite Application

  • Video restore

Online Tutorial

You can run those projects in the AI Studio to learn how to use the models above:

Online Tutorial link
Motion Driving-multi-personal "Mai-ha-hi" Click and Try
Restore the video of Beijing hundreds years ago Click and Try
Motion Driving-When "Su Daqiang" sings "unravel" Click and Try

Examples

Face Morphing

Image Translation

Old video restore

Motion driving

Super resolution

Makeup shifter

Face cartoonization

Realistic face cartoonization

Photo animation

Lip-syncing

NEW try out the Lip-Syncing web demo on Huggingface Spaces using Gradio:

Changelog

  • v2.1.0 (2021.12.8)

    • Release a video super-resolution model PP-MSVSR and multiple pre-training weights
    • Release several SOTA video super-resolution models and their pre-trained models such as BasicVSR, IconVSR and BasicVSR++
    • Release the light-weight motion-driven model(Volume compression: 229M->10.1M), and optimized the fusion effect
    • Release high-resolution FOMM and Wav2Lip pre-trained models
    • Release several interesting applications based on StyleGANv2, such as face inversion, face fusion and face editing
    • Released Baidu’s self-developed and effective style transfer model LapStyle and its interesting applications, and launched the official website experience page
    • Release a light-weight image super-resolution model PAN
  • v2.0.0 (2021.6.2)

    • Release Fisrt Order Motion model and multiple pre-training weights
    • Release applications that support Multi-face action driven
    • Release video super-resolution model EDVR and multiple pre-training weights
    • Release the contents of 7-day punch-in training camp corresponding to PaddleGAN
    • Enhance the robustness of PaddleGAN running on the windows platform
  • v2.0.0-beta (2021.3.1)

    • Completely switch the API of Paddle 2.0.0 version.
    • Release of super-resolution models: ESRGAN, RealSR, LESRCNN, DRN, etc.
    • Release lip migration model: Wav2Lip
    • Release anime model of Street View: AnimeGANv2
    • Release face animation model: U-GAT-IT, Photo2Cartoon
    • Release SOTA generation model: StyleGAN2
  • 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.

Community

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!

PaddleGAN Special Interest Group(SIG)

It was first proposed and used by ACM(Association for Computing Machinery) in 1961. Top International open source organizations including Kubernates 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.

SIG contributions:

  • zhen8838: contributed to AnimeGANv2.
  • Jay9z: contributed to DCGAN and updated install docs, etc.
  • HighCWu: contributed to c-DCGAN and WGAN. Support to use paddle.vision.datasets.
  • hao-qiang & minivision-ai : contributed to the photo2cartoon project.

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.

License

PaddleGAN is released under the Apache 2.0 license.

Issues· 131 open

View all issuesOpen on GitHub
  • #867

    表情迁移只保存log文件,没有视频

    Updated Jan 6, 2025
  • #866

    paddle-gan在windows运行StarGAN V2算法报错

    Updated Jan 3, 2025
  • #865

    msvsr_reds 模型 转onnx失败

    Updated Nov 20, 2024
  • #864

    GFP face enhance export_model报错

    Updated Nov 19, 2024
  • #863

    NTIRE 2020 RWSR dataset

    Updated Oct 16, 2024
  • #861

    结构凌乱

    Updated Sep 18, 2024
  • #858

    pip install -r requirements.txt 出錯

    Updated Sep 10, 2024
  • #857

    如何导出NAFNetLocal模型文件为onnx格式?

    Updated Jul 26, 2024
  • #846

    安装ppgan时报错,ERROR: Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects

    Updated Jul 23, 2024
  • #856

    无法运行first-order-demo.py 的示例,直接出Killed

    Updated Jul 23, 2024

> Tags

Pythonanimeganv2basicvsrpluspluscycleganedvr

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言