Home

Awesome

<div align="center"> <img src="imgs/joligen.svg" width="512"> </div>

License Docs Website

<h1 align="center">Generative AI Image Toolset with GANs, Diffusion and Consistency Models for Real-World Applications</h1>

JoliGEN is an integrated framework for training custom generative AI image-to-image models

Main Features:

Useful links

Use cases

This is achieved by combining powerful and customized generator architectures, bags of discriminators, and configurable neural networks and losses that ensure conservation of fundamental elements between source and target images.

Example results

Satellite imagery inpainting

Fill up missing areas with diffusion network

xview_inpainting_res1

Image translation while preserving the class

Mario to Sonic while preserving the action (running, jumping, ...)

Clipboard - June 6, 2022 9 44 PM Clipboard - June 5, 2022 12 02 PM

Object insertion

Virtual Try-On with Diffusion

273150788-32990dc1-ebd7-401a-be51-85adeef3b508

Car insertion (BDD100K) with Diffusion image image

Glasses insertion (FFHQ) with Diffusion

<img src="https://github.com/jolibrain/joliGEN/assets/3530657/eba7920d-4430-4f46-b65c-6cf2267457b0" alt="drawing" width="512"/> <img src="https://github.com/jolibrain/joliGEN/assets/3530657/ef908a7f-375f-4d0a-afec-72d1ee7eaafe" alt="drawing" width="512"/>

Object removal

Glasses removal with GANs

Clipboard - November 9, 2022 4_33 PM Clipboard - November 9, 2022 10_40 AM

Style transfer while preserving label boxes (e.g. cars, pedestrians, street signs, ...)

Day to night (BDD100K) with Transformers and GANs image

Clear to snow (BDD100K) by applying a generator multiple times to add snow incrementally image

Clear to overcast (BDD100K) image

Clear to rainy (BDD100K) image image

Features


Code format and Contribution

If you want to contribute please use black code format. Install:

pip install black 

Usage :

black .

If you want to format the code automatically before every commit :

pip install pre-commit
pre-commit install

Authors

JoliGEN is created and developed by Jolibrain.

Code structure is inspired by pytorch-CycleGAN-and-pix2pix, CUT, AttentionGAN, MoNCE, Palette among others.

Elements from JoliGEN are supported by the French National AI program "Confiance.AI"

Contact: contact@jolibrain.com