If you haven't known about Pix2Pix, check out here
I got dataset from pixiv and safebooru.
if you wanna get them from safebooru, please check out this repo
Command line is like following.
$ git clone [email protected]:TrsNium/scraping_safebooru.git
$ git clone [email protected]: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
I published here