Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Latest commit

 

History

History
29 lines (26 loc) · 897 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 897 Bytes

Pix2Pix

If you haven't known about Pix2Pix, check out here

DataSet

I got dataset from pixiv and safebooru.
if you wanna get them from safebooru, please check out this repo

Set Up

Command line is like following.

$ git clone git@github.com:TrsNium/scraping_safebooru.git
$ git clone git@github.com:TrsNium/Pix2Pix__.git
$ cd Pix2Pix__/data
$ mkdir RGB_LineDraw
$ cd ../../
$ cd scraping_safebooru
$ python scraping.py
$ mv ./download/ ../Pix2Pix__/data/RGB_LineDraw
$ mv ./linedraw/ ../Pix2Pix__/data/RGB_LineDraw
$ cd ../Pix2_Pix/data
$ python resize.py
$ cd ..
$ python train.py

And I use some library.
Please install tensorflow,pillow, BeutifulSoup4 and cv2

Learned Model

I published here