1 Star 0 Fork 34

workor / STYLE2PAINTS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 7.06 KB
一键复制 编辑 原始数据 按行查看 历史
Kenneth Palaganas 提交于 2017-10-12 03:37 . Readme: Fixed spelling errors

Lastest News

Our new UI is under construction now. You can try it directly!

PaintsTransfer: http://paintstransfer.com/

new_preview

new_preview

new_preview

new_preview

You have just found STYLE2PAINTS

:pushpin:GithubPage :pushpin:GithubPageChinese :pushpin:StyleTransfer

The previous version is now at 52.80.94.56:8000

The AI can paint on a sketch according to a given specific color style.

The AI can transfer illustrations' style.

web_preview

web_preview2

web_preview3

web_preview4

Tuitions

tuition 001

Example 1 (Google Search results test)

google

A content sketch (the first google image search result of key word 'anime sketch') and some style images:

. . .

Results:

. . . .

. . . .

. . . .

Example 2 (western sketch)

A western content sketch and 2 style images:

. . . .

Example 3 (messy sketch)

A messy content sketch and 2 style images:

. . . .

. . .

Example 4 (detailed sketch)

A detailed content sketch and 2 style images:

. . . .

. . .

Example 5 (simple sketch)

A simple content sketch without shadow rendering and 2 style images:

. . . .

. . .

CPU Server for Beginner

you need a python 3 environment.

pip install tensorflow
pip install keras
pip install chainer
pip install bottle
pip install gevent
pip install h5py
pip install opencv-python
git clone https://github.com/lllyasviel/style2paints.git
(then download all pretrained models from 'release' page and then put them in 'style2paints/server')
cd style2paints/server
python server.py cpu

GPU Server for Reseachers

you need a CUDA python 3.6 environment.

pip install tensorflow_gpu
pip install keras
pip install chainer
pip install cupy
pip install bottle
pip install gevent
pip install h5py
pip install opencv-python
git clone https://github.com/lllyasviel/style2paints.git
(then download all pretrained models from 'release' page and then put them in 'style2paints/server')
cd style2paints/server
python server.py

Model

Models are available in 'release' page.

  1. base_generator.net -> all rights reserved 2017 style2paints
  2. style2paints.net -> all rights reserved 2017 style2paints
  3. google_net.net -> from nico-opendata

Training Datasets

  1. The recommended training dataset of illustrations is the 400k images from nico-opendata

  2. The recommended training sketches is from sketchKeras

Community

QQ Group ID: 184467946

Acknowledgements

Thanks a lot to TaiZan. This project could not be achieved without his great help.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cxd520/STYLE2PAINTS.git
git@gitee.com:cxd520/STYLE2PAINTS.git
cxd520
STYLE2PAINTS
STYLE2PAINTS
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891