Python generative-adversarial-network

Open-source Python projects categorized as generative-adversarial-network

Top 23 Python generative-adversarial-network Projects

  • pytorch-CycleGAN-and-pix2pix

    Image-to-Image Translation in PyTorch

    Project mention: I'm looking for an AI Art generator from images | | 2023-01-03

    pix2pix ( - This is a PyTorch implementation of the pix2pix algorithm for image-to-image translation. Given a set of images, the model can learn to generate a new image from a different domain that is similar to the input image.

  • the-gan-zoo

    A list of all named GANs!

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Bringing-Old-Photos-Back-to-Life

    Bringing Old Photo Back to Life (CVPR 2020 oral)

    Project mention: Do any GAN's exist to restore photos with reduced colors (not grayscale coloring)? | | 2022-07-18

    Why a GAN specifically? There's Bringing Old Photos Back to Life for example, but it uses VAEs, not a GAN.

  • pix2pixHD

    Synthesizing and manipulating 2048x1024 images with conditional GANs

    Project mention: How do I run more than 200 epochs in training a Pix2PixHD model? | | 2022-08-11
  • mmediting

    OpenMMLab Image and Video Restoration, Editing and Generation Toolbox

    Project mention: MMEditing v1.0.0rc4 has been released (including Disco-Diffusion) | | 2022-12-18

    Join us to make it better! Try at

  • ALAE

    [CVPR2020] Adversarial Latent Autoencoders

  • stylegan2-pytorch

    Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement

    Project mention: These are not real people. These are all images created by AI | | 2023-01-28
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • PyTorch-StudioGAN

    StudioGAN is a Pytorch library providing implementations of representative Generative Adversarial Networks (GANs) for conditional/unconditional image generation.

    Project mention: [P] Implementations of 30 representative GANs and Comprehensive Benchmark for GAN, AR, and Diffusion Models (link in comments). | | 2022-07-10

    Github Link:

  • generative_inpainting

    DeepFill v1/v2 with Contextual Attention and Gated Convolution, CVPR 2018, and ICCV 2019 Oral

    Project mention: after instantiating a graph, data or node needs to pass before it loads the parameters? | | 2022-05-13
  • edge-connect

    EdgeConnect: Structure Guided Image Inpainting using Edge Prediction, ICCV 2019

    Project mention: Huge out-painting in 1 step without erased colors or pre-selecting images | | 2022-09-11

    It inspired me to search for other ways to fill the white space in outpainting. I found Edge Connect and hacked it in as well. Some basic output can be seen here:

  • pytorch-fid

    Compute FID scores with PyTorch.

    Project mention: [P] Frechet Inception Distance | | 2022-06-25 for example this here. The code is quite clean and clear

  • contrastive-unpaired-translation

    Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)

    Project mention: Help me with my GANS project | | 2022-06-13
  • CelebAMask-HQ

    A large-scale face dataset for face parsing, recognition, generation and editing.

    Project mention: Updated code for MaskGAN. | | 2022-11-12

    There was no code to train before, but I wrote it myself and the source of this code is as follows github :

  • Anime2Sketch

    A sketch extractor for anime/illustration.

  • lightweight-gan

    Implementation of 'lightweight' GAN, proposed in ICLR 2021, in Pytorch. High resolution image generations that can be trained within a day or two

    Project mention: [D] My embarrassing trouble with inverting a GAN generator. Do GAN questions still get answered? ;-) | | 2022-11-18

    GAN details: I trained using the code from, image size is 256, attn-res-layers is [32,64], disc_output_size is 5 and I trained with AMP.

  • mmgeneration

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

    Project mention: MMDeploy: Deploy All the Algorithms of OpenMMLab | | 2022-11-21

    MMGeneration: OpenMMLab image and video generative models toolbox.

  • SDV

    Synthetic Data Generation for tabular, relational and time series data.

    Project mention: SDV: NEW Data - star count:1196.0 | | 2022-12-31
  • HyperGAN

    Composable GAN framework with api and user interface

  • giraffe

    This repository contains the code for the CVPR 2021 paper "GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields" (by autonomousvision)

  • data-efficient-gans

    [NeurIPS 2020] Differentiable Augmentation for Data-Efficient GAN Training

    Project mention: [D] Has anyone tried GAN "tricks" on VAEs? | | 2022-08-05

    Code for found:

  • StyleGAN-nada

    Project mention: Artists Tomorrow | | 2022-11-19

    Here's a paper about adding the ability to guide outputs with text a full year before Stable Diffusion was published.

  • pytorch-pretrained-BigGAN

    🦋A PyTorch implementation of BigGAN with pretrained weights and conversion scripts.

  • hyperstyle

    Official Implementation for "HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editing" (CVPR 2022)

    Project mention: Recent announcement from Emad | | 2022-10-08

    Hypernetworks and training the VAE for SD are already publicly available.

  • 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-01-28.

Python generative-adversarial-network related posts


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

Project Stars
1 pytorch-CycleGAN-and-pix2pix 19,080
2 the-gan-zoo 12,918
3 Bringing-Old-Photos-Back-to-Life 11,370
4 pix2pixHD 6,024
5 mmediting 3,967
6 ALAE 3,376
7 stylegan2-pytorch 3,371
8 PyTorch-StudioGAN 3,059
9 generative_inpainting 2,932
10 edge-connect 2,335
11 pytorch-fid 2,129
12 contrastive-unpaired-translation 1,764
13 CelebAMask-HQ 1,718
14 Anime2Sketch 1,633
15 lightweight-gan 1,471
16 mmgeneration 1,300
17 SDV 1,250
18 HyperGAN 1,170
19 giraffe 1,151
20 data-efficient-gans 1,135
21 StyleGAN-nada 1,003
22 pytorch-pretrained-BigGAN 958
23 hyperstyle 887
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives