GithubHelp home page GithubHelp logo

nat-chan / anime-sketch-colorizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delta6189/anime-sketch-colorizer

0.0 0.0 0.0 30.7 MB

Automatic Sketch Colorization with reference image

Python 0.94% Jupyter Notebook 99.06%

anime-sketch-colorizer's Introduction

Anime-Sketch-Colorizer

Automatic Sketch Colorization with reference image

Prerequisites

pytorch

torchvision

numpy

openCV2

matplotlib

Dataset

Taebum Kim, "Anime Sketch Colorization Pair", https://www.kaggle.com/ktaebum/anime-sketch-colorization-pair

Train

Please refer train.ipynb

Test

Please refer test.ipynb

Training details

Parameter Value
Learning rate 2e-4
Batch size 2
Epoch 25
Optimizer Adam
(beta1, beta2) (0.5, 0.999)
(lambda1, lambda2, lambda3) (100, 1e-4, 1e-2)
Data Augmentation RandomResizedCrop(256)
RandomHorizontalFlip()
HW CPU : Intel i5-8400
RAM : 16G
GPU : NVIDIA GTX1060 6G
Training Time About 0.93s per iteration
(About 45 hours for 25 epoch)

Model

ex_screenshot

For more details, please refer Model_details.pdf

Results

Reference / Sketch / Colorization Result / Ground Truth

ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot ex_screenshot

Reference

[1] Taebum Kim, "Anime Sketch Colorization Pair", https://www.kaggle.com/ktaebum/anime-sketch-colorization-pair, 2019., 2020.1.13.

[2] Jim Bohnslav,"opencv_transforms", https://github.com/jbohnslav/opencv_transforms, 2020.1.13.

[3] Takeru Miyato et al., "Spectral Normalization for Generative Adversarial Networks", ICLR 2018, 2018.2.18.

[4] Ozan Oktay et al., "Attention U-Net: Learning Where to Look for the Pancreas", MIDL 2018, 2018.5.20.

[5] Siyuan Qiao et al., "Weight Standardization", https://arxiv.org/abs/1903.10520, 2019. 3. 25., 2020.1.19.

[6] Tero Karras, Samuli Laine, Timo Aila, "A Style-Based Generator Architecture for Generative Adversarial Networks", https://arxiv.org/abs/1812.04948, 2019.3.29., 2020.1.22.

anime-sketch-colorizer's People

Contributors

delta6189 avatar

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.