Skip to content

poi233/DCGAN_tensorflow_anim_face

Repository files navigation

DCGAN_tensorflow_anim_face

An animation face generator using DCGAN
tensorflow_version python_version scipy pillow moviepy

Usage

python main.py --input_height 96 --input_width 96 --output_height 48 --output_width 48 --dataset faces --crop --train --epoch 300 --input_fname_pattern "*.jpg" --visualize

  • dataset: dir name of dataset in /data
  • train: True-train False-test

Data

link:http://pan.baidu.com/s/1c2Gqucg password:4eh3

Data Obtain

data_scratch/crawl.py: Get pictures from KONACHAN
data_scratch/scratch_face.py: Get faces from images above
data_scratch/AnimCrawl.ipynb: Crawl HD landscape from KONACHAN

Results

result after 1 epoch
epoch1
result after 5 epoch
epoch5
result after 10 epoch
epoch10
result after 30 epoch
epoch30
result after 100 epoch
epoch100

Reference

https://zhuanlan.zhihu.com/p/24767059