line drawing colorization using chainer
Jupyter Notebook HTML Python JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
cgi-bin Build script update and windows adaption (#129) Aug 5, 2017
css Add sns links (#108) Apr 6, 2017
fonts Add sns links (#108) Apr 6, 2017
images Add howto (#110) Apr 12, 2017
log initial commit for open Jan 27, 2017
models Build script update and windows adaption (#129) Aug 5, 2017
wPaint ColorPicker Selected HistoryItem max 8. (#78) Feb 5, 2017
.gitignore Build script update and windows adaption (#129) Aug 5, 2017
.pylintrc Build script update and windows adaption (#129) Aug 5, 2017
LICENSE Rename LICENCE to LICENSE Jan 30, 2017
README.md Update for Chainer 2.0.0 (#122) Jun 3, 2017
browserconfig.xml Cater for adapters (#83) Feb 7, 2017
edge-detection.ipynb Fix typo Jan 31, 2017
gimpDaemon.py Normalize colorize() (#91) Feb 9, 2017
howto.html remove target brank Apr 12, 2017
howto_ja.html remove target brank Apr 12, 2017
howto_zh-TW.html Add Chinese (Taiwan) Localization (#138) Mar 29, 2018
howto_zh.html remove target brank Apr 12, 2017
index.html Add Chinese (Taiwan) Localization (#138) Mar 29, 2018
index_ja.html remove call for intern May 12, 2017
index_zh-TW.html Add Chinese (Taiwan) Localization (#138) Mar 29, 2018
index_zh.html remove target brank Apr 12, 2017
main.css Add howto (#111) Apr 12, 2017
manifest.json Cater for adapters (#83) Feb 7, 2017
paints_chainer.js Initial support for https (#98) Feb 28, 2017
run_dependency_test.bat Build script update and windows adaption (#129) Aug 5, 2017
run_exe.bat Build script update and windows adaption (#129) Aug 5, 2017
run_python.bat Build script update and windows adaption (#129) Aug 5, 2017
server.py Build script update and windows adaption (#129) Aug 5, 2017
setup.py Add Chinese (Taiwan) Localization (#138) Mar 29, 2018

README.md

Paints Chainer

Paints Chainer is a line drawing colorizer using chainer. Using CNN, you can colorize your sketch semi-automatically .

image

DEMO

http://paintschainer.preferred.tech/

Requirement

If not specified, versions are assumed to be recent LTS version.

  • A Nvidia graphic card supporting cuDNN i.e. compute capability >= 3.0 (See https://developer.nvidia.com/cuda-gpus)
  • Linux: gcc/ g++ 4.8
  • Windows: "Microsoft Visual C++ Build Tools 2015" (NOT "Microsoft Visual Studio Community 2015")
  • Python 3 (3.5 recommended) ( Python 2.7 needs modifying web host (at least) )
  • Numpy
  • openCV "cv2" (Python 3 support possible, see installation guide)
  • Chainer 2.0.0 or later
  • CUDA / cuDNN (If you use GPU)

Installation Guide

check wiki page https://github.com/pfnet/PaintsChainer/wiki/Installation-Guide

Starting web host

UI is html based. using wPaint.js Server side is very basic python server

boot local server python server.py

access to localhost localhost:8000/

Learning

main code of colorization is in cgi-bin/paint_x2_unet

to train 1st layer using GPU 0 python train_128.py -g 0 to train 2nd layer using GPU 0 python train_x2.py -g 0

License

Source code : MIT License

Pre-trained Model : All Rights Reserved

Pre-Trained Models

Download following model files to cgi-bin/paint_x2_unet/models/

http://paintschainer.preferred.tech/downloads/

(Copyright 2017 Taizan Yonetsuji All Rights Reserved.)

Developer Community

Feel free to request an invitation!

https://paintschainerdev.slack.com/

Acknowledgements

This project is powered by Preferred Networks.

Thanks a lot for rezoolab, mattya, okuta, ofk . This project could not be achived without their great support.

Line drawing of top image is by ioiori18.