Skip to content
No description, website, or topics provided.
Python OCaml CSS Shell HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
batch
dnn_upscaler
image_scraper
image_tag_embedding
line_art_generator
line_art_painter
misc
style_encoder
tflib
tools
.flake8
.gitignore
.style.yapf
Readme.md
requirements.txt

Readme.md

Line Art Painter for Tensorflow

Making datasets

  1. collect images.
  2. cd datasets
  3. python resize_fixed_size.py -d <output directory> <dataset directory>
  4. python extract_line_art.py -d <output directory> <output of resize_fixed_size.py>
  5. python packer.py -d <output directory> <output of resize_fixed_size.py> <output of extract_line_art.py>

Run training for Line-Art painter with WGAN

  1. Done making datasets before
  2. python -m line_art_painter.training_wgan --dataset_dir <output of packer.py> --train_dir <log of training>

training.py has some options below.

  • --dataset_dir
  • --train_dir
  • --nax_steps
  • --full_trace
  • --lambda_
  • --learning_rate
  • --beta1
  • --critic_step
  • --batch_size
  • --log_device_placement
You can’t perform that action at this time.