Python Gan

Top 23 Python Gan Projects


    GFPGAN aims at developing Practical Algorithms for Real-world Face Restoration.

    Project mention: Open source software has gotten a lot better at having smooth swaps. Below is what i got. | /r/faceswap | 2023-06-28

    Mainly as the base model. There was some post processing done to further improve quality.

  • pytorch-CycleGAN-and-pix2pix

    Image-to-Image Translation in PyTorch

    Project mention: List of AI-Models | /r/GPT_do_dah | 2023-05-16

    Click to Learn more...

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • the-gan-zoo

    A list of all named GANs!

    Project mention: [哲老嗨进]chatGPT和Diffusion model的成功是不是说明还原论是对的? | /r/Youmo | 2023-03-02
  • fashion-mnist

    A MNIST-like fashion product database. Benchmark :point_down:

    Project mention: Pre-Trained ML models for labeling retail images? Upload an image of a dress shirt and the labels output are “long sleeve, men’s, button down, collar, formal, dress shirt” or better? | /r/learnmachinelearning | 2023-04-25
  • Keras-GAN

    Keras implementations of Generative Adversarial Networks.

    Project mention: Help understanding specific GAN model | /r/learnmachinelearning | 2023-03-28

    If your goal is just to use a GAN, you can start here

  • so-vits-svc-fork

    so-vits-svc fork with realtime support, improved interface and more features.

    Project mention: Zade - Çaresizim | /r/zfam | 2023-06-21
  • PaddleGAN

    PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, Wav2Lip, picture repair, image editing, photo2cartoon, image style transfer, GPEN, and so on.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • TensorLayer

    Deep Learning and Reinforcement Learning Library for Scientists and Engineers

  • pix2pixHD

    Synthesizing and manipulating 2048x1024 images with conditional GANs

  • gluon-cv

    Gluon CV Toolkit

    Project mention: FOSS self-hosted image-to-text gpu accelerated object recognition ? Is there anything on the table yet ? | /r/selfhosted | 2023-03-30

  • SimSwap

    An arbitrary face-swapping framework on images and videos with one single trained model!

    Project mention: How do I transfer a face from one image to another image? | /r/StableDiffusion | 2023-07-11

    simswap is an earlier alternative to roop, but they have a 512x512 model.

  • photo2cartoon

    人像卡通化探索项目 (photo-to-cartoon translation project)

    Project mention: Unstoppable Domains Launches AI-Generated Avatars | /r/CryptoCurrency | 2023-03-31

    Here you can make your own:, for free. If you really want an nft, generate your own images and mint an nft on polygon for virtually nothing instead of paying unstoppable domains 15$

  • ALAE

    [CVPR2020] Adversarial Latent Autoencoders

  • SinGAN

    Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"

    Project mention: Piracy's the Way | /r/TopazLabs | 2023-03-30

    Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network

  • pytorch-fid

    Compute FID scores with PyTorch.

    Project mention: [D] A better way to compute the Fréchet Inception Distance (FID) | /r/MachineLearning | 2023-04-10

    The Fréchet Inception Distance (FID) is a widespread metric to assess the quality of the distribution of a image generative model (GAN, Stable Diffusion, etc.). The metric is not trivial to implement as one needs to compute the trace of the square root of a matrix. In all PyTorch repositories I have seen that implement the FID (,,, ...), the authors rely on SciPy's sqrtm to compute the square root of the matrix, which is unstable and slow.

  • Anime2Sketch

    A sketch extractor for anime/illustration.

  • SDV

    Synthetic data generation for tabular data

    Project mention: SDV: NEW Data - star count:1441.0 | /r/algoprojects | 2023-05-13
  • mmgeneration

    MMGeneration is a powerful toolkit for generative models, based on PyTorch and MMCV.

  • Advanced-Deep-Learning-with-Keras

    Advanced Deep Learning with Keras, published by Packt

  • ailia-models

    The collection of pre-trained, state-of-the-art AI models for ailia SDK

    Project mention: 10$ Full Body Tracking! I'm proud to release ToucanTrack (in Beta!). Get decent FBT with the power of 2 PS3 Eye Cameras and AI! | /r/VRchat | 2023-02-20

    If you're looking for the differences in terms of how inference is done, I recommend you take a look at MediaPipe's source code. MediaPipe doesn't use raw code, but uses a "graph" instead (eg. pose_landmark_cpu.pbtxt), which can be visualised using MediaPipe Viz. I also used axinc-ai/ailia-models as the base (preprocessing, inference, postprocessing, etc...) which I further built upon (keypoint refinement, roi from keypoints, filtering / smoothing, etc...)

  • PassGAN

    A Deep Learning Approach for Password Guessing (

    Project mention: Dónde o como puedo aprender a hackear redes wifi | /r/programacion | 2023-05-31
  • lightning-bolts

    Toolbox of models, callbacks, and datasets for AI/ML researchers.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-07-11.

Python Gan related posts


What are some of the best open-source Gan projects in Python? This list will help you:

Project Stars
1 GFPGAN 33,001
2 pytorch-CycleGAN-and-pix2pix 21,066
3 the-gan-zoo 13,709
4 fashion-mnist 11,032
5 Keras-GAN 9,056
6 so-vits-svc-fork 7,491
7 PaddleGAN 7,431
8 TensorLayer 7,253
9 pix2pixHD 6,398
10 gluon-cv 5,666
11 SimSwap 3,880
12 photo2cartoon 3,752
13 ALAE 3,463
14 SinGAN 3,265
15 SRGAN 3,107
16 pytorch-fid 2,771
17 Anime2Sketch 1,841
18 SDV 1,709
19 mmgeneration 1,679
20 Advanced-Deep-Learning-with-Keras 1,650
21 ailia-models 1,643
22 PassGAN 1,640
23 lightning-bolts 1,601
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives