GithubHelp home page GithubHelp logo

jtcjtcc / animecolordeoldify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dakini/animecolordeoldify

0.0 0.0 0.0 43.31 MB

Colorise Anime/Manga Sketches with DeOldify

Python 2.70% Jupyter Notebook 97.30%

animecolordeoldify's Introduction

Anime/Sketch/Manga Coloriser trained with DeOldify

This repo is based on the work of Jason Antic, the creator of DeOldify. I have used his code base, to bring you this repository that allows you to colorise anime/manga sketches.

Quick Start: The easiest way to colorize images using This model trained via DeOldify (for free!) is via one of the colabs below!


Image

GrayScale Images

Digital Sketches

Sketches to Shading (tempremental)

The easiest way to learn how to use the Colabs, are the same those used in the DeOldify repository, which has kinldy been provided by in video tutorial form by Old Ireland in Colour's John Breslin. Click video image below to watch.

Get more updates here Twitter .

More to be filled out shortly

About this Repository

The goal for project this was to recolorise manga into color. Its been one of the main things I have wanted to do with deep learning and after experimenting with DeOldify, I wanted to try it with the danbooru2019 dataset.

Here are some pictures from this model.

Example Grayscale Images

[

[

[

[

[

[

Example Sketch images

[

[

[

[

[

Manga Colorisation

[

[

[

[

[

[

Why four models

This repository contains four models, All trained using the same code but different datasets. They are all based on the artistic training code that is provided by DeOldify [DeOldify]. They are the Image coloriser,Grayscale2Color, Sketch2Color, and Sketch2Gray.

As described in the DeOldify repo. The Artistic model acheives the highest quality in image coloriosation, in terms of interesting details and vibrance, which is needed for any dataset based on art especially Danbooru. However, the model can be particular on getting the best results, which can be adjusted using the render setting. The best setting is currently 12, but a higher render_factor is needed for rendering manga.

Getting Started

The easiest way to get started is using the google colabs, avaialble here.

Installing this repo

This should be an easy install if you have conda installed.

git clone https://github.com/Dakini/AnimeColorDeOldify
cd AnimeColorDeOldify
pip install -r requirements.txt
jupyter notebook

My training code, is not avaiable, as its a bit of a mess at the moment, with various hacks in place. However, I used the same training code from the Artistic jupyter notebook avaiable on the DeOldify repository

I used the danbooru dataset, which you can find more information here. The dataset is a total of ~3 TB, with over 3 millions images.

To start right away on your own machine with your own images or videos without training the models yourself, you'll need to download the pretrained models.They can be found here

The colorization inference notebooks should be able to guide you from here.

License

All code in this repository is under the MIT license as specified by the LICENSE file.

The model weights listed in this readme under the "Pretrained Weights" section are trained by ourselves and are released under the MIT license.

animecolordeoldify's People

Contributors

aiemmu avatar dakini avatar dependabot[bot] 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.