All Projects → rapidrabbit76 → PaintsTensorFlow

rapidrabbit76 / PaintsTensorFlow

Licence: MIT License
line drawing colorization using TensorFlow

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to PaintsTensorFlow

Colorizing With Gans
Grayscale Image Colorization with Generative Adversarial Networks. https://arxiv.org/abs/1803.05400
Stars: ✭ 209 (+344.68%)
Mutual labels:  gans, colorization
AutoWaifu
autowaifu.azurewebsites.net/
Stars: ✭ 25 (-46.81%)
Mutual labels:  waifu2x
picacg-qt
哔咔漫画, PicACG comic PC client(Windows, Linux, MacOS)
Stars: ✭ 1,325 (+2719.15%)
Mutual labels:  waifu2x
CoMoGAN
CoMoGAN: continuous model-guided image-to-image translation. CVPR 2021 oral.
Stars: ✭ 139 (+195.74%)
Mutual labels:  gans
sRender
Facial Sketch Render, ICASSP 2021
Stars: ✭ 20 (-57.45%)
Mutual labels:  gans
anime2clothing
Pytorch official implementation of Anime to Real Clothing: Cosplay Costume Generation via Image-to-Image Translation.
Stars: ✭ 65 (+38.3%)
Mutual labels:  gans
vs-mlrt
Efficient ML Filter Runtimes for VapourSynth (with built-in support for waifu2x, DPIR, RealESRGANv2, and Real-CUGAN)
Stars: ✭ 34 (-27.66%)
Mutual labels:  waifu2x
Deep-Object-Removal
Using cGANs to remove objects from a photo
Stars: ✭ 82 (+74.47%)
Mutual labels:  gans
AutoCrispy
Automatically apply AI Upscaling on Dumped Textures
Stars: ✭ 74 (+57.45%)
Mutual labels:  waifu2x
generative deep learning
Generative Deep Learning Sessions led by Anugraha Sinha (Machine Learning Tokyo)
Stars: ✭ 24 (-48.94%)
Mutual labels:  gans
Awesome-Deep-Colorization
Selected Paper List of Deep Model based Image Colorization
Stars: ✭ 62 (+31.91%)
Mutual labels:  colorization
Waifu2x-GUI
An app that upscales anime-styled images, gifs, and videos with waifu2x.
Stars: ✭ 89 (+89.36%)
Mutual labels:  waifu2x
Machine-Learning
The projects I do in Machine Learning with PyTorch, keras, Tensorflow, scikit learn and Python.
Stars: ✭ 54 (+14.89%)
Mutual labels:  gans
AODA
Official implementation of "Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesis"(WACV 2022/CVPRW 2021)
Stars: ✭ 44 (-6.38%)
Mutual labels:  gans
Deep-Exemplar-based-Video-Colorization
The source code of CVPR 2019 paper "Deep Exemplar-based Video Colorization".
Stars: ✭ 180 (+282.98%)
Mutual labels:  colorization
Selfie2Anime-with-TFLite
How to create Selfie2Anime from tflite model to Android.
Stars: ✭ 70 (+48.94%)
Mutual labels:  gans
zsh-ls-colors
A zsh library to use LS_COLORS
Stars: ✭ 23 (-51.06%)
Mutual labels:  colorization
limner
Limner colorizes and transforms CLI outputs.
Stars: ✭ 99 (+110.64%)
Mutual labels:  colorization
gans-collection.torch
Torch implementation of various types of GAN (e.g. DCGAN, ALI, Context-encoder, DiscoGAN, CycleGAN, EBGAN, LSGAN)
Stars: ✭ 53 (+12.77%)
Mutual labels:  gans
AvatarGAN
Generate Cartoon Images using Generative Adversarial Network
Stars: ✭ 24 (-48.94%)
Mutual labels:  gans

PaintsTensorFlow

Model Structure

Model Structure

DraftModel

Colorization

Results

input(line) - input(hint) - draft - output - ground truth

Gray background in hint for visualization.

More result image

GUI

Current we does not provide a GUI.

instead, we are preparing a web service.

if you want to use it locally using the GUI, refer to tag:0.0.1

GUI

File - open( select Image )

Click "Liner" to create line art

Click "RUN" to automatically color

Click "Color" to select a color and then draw a color hint

Click "RUN" to automatically color

Requirements

  • tensorflow==2.7.1
  • tensorflow-addons==0.16.1
  • albumentations==1.1.0
  • scipy==1.8.0
  • wandb==0.12.11

Install

Training

  • My datasets are over 700,000 images and i created a lines, using SketchKeras

  • datasets path structure (image-line file name must be matched)

    {DATASET PATH}
    │
    ├─ train
    │   ├─ image
    │   │    └─ 1.jpg, 2.jpg, N.jpg
    │   ├─ line
    │   │    └─ 1.jpg, 2.jpg, N.jpg
    └─ test
        ├─ image
        │    └─ 1.jpg, 2.jpg, N.jpg
        └─ line
            └─ 1.jpg, 2.jpg, N.jpg
    
  • [step 1]: Training draft model 128X128 size

    python3 main.py \
    --mode="draft" \
    --root_dir={"YOURE DATASET PATH"} \
    --batch_size={BATCH_SIZE} \
    --epochs={EPOCHS} \
    --lr=0.0001
    
  • [step 2]: Training Colorization model 512X512 size

    python3 main.py \
    --mode="colorization" \
    --root_dir={"YOURE DATASET PATH"} \
    --batch_size={BATCH_SIZE} \
    --epochs={EPOCHS} \
    --lr=0.0001
    

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].