Coder Social home page Coder Social logo

jolibrain / joligen Goto Github PK

View Code? Open in Web Editor NEW
205.0 9.0 30.0 13.6 MB

Generative AI Image Toolset with GANs and Diffusion for Real-World Applications

Home Page: https://www.joligen.com

License: Other

Python 97.82% Shell 1.14% C++ 0.10% Cuda 0.93%
pytorch deep-learning gan generative-model augmented-reality diffusion-models image-generation image-to-image

joligen's Introduction

License Docs Website

Generative AI Image Toolset with GANs, Diffusion and Consistency Models for Real-World Applications

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

Main Features:

  • JoliGEN implements both GAN, Diffusion and Consistency models for unpaired and paired image to image translation tasks, including domain and style adaptation with conservation of semantics such as image and object classes, masks, ...

  • JoliGEN generative AI capabilities are targeted at real world applications such as Controled Image Generation, Augmented Reality, Dataset Smart Augmentation and object insertion, Synthetic to Real transforms.

  • JoliGEN allows for fast and stable training with astonishing results. A server with REST API is provided that allows for simplified deployment and usage.

  • JoliGEN has a large scope of options and parameters. To not get overwhelmed, follow the simple Quickstarts. There are then links to more detailed documentation on models, dataset formats, and data augmentation.

Useful links

Use cases

  • AR and metaverse: replace any image element with super-realistic objects
  • Image manipulation: seamlessly insert or remove objects/elements in images
  • Image to image translation while preserving semantics, e.g. existing source dataset annotations
  • Simulation to reality translation while preserving elements, metrics, ...
  • Image generation to enrich datasets, e.g. counter dataset imbalance, increase test sets, ...

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

drawing drawing

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: [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.