flyingbread-elon / AgileGAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AgileGAN

We public our test code for artistic style image generation to reproduce our paper results. This codebase provides: -test code -test input samples in our paper.

pretrain model

Please download the data and pretrain folder from: data and pretrain.

To follow anonymity requirement, download links direct to google drive under anonymous account: AnonymousSiggraph225@gmail.com .

Requirements

  • CUDA 10.1
  • Python 3
  • PyTorch tested on 1.6.0
  • PIL
  • skimage
  • numpy
  • cv2 tested on 4.2.0

Test

We provide 5 styles in pretrain folder: cartoon, oil, wuxia, jackie, scarlett. Please use following code to generate result.

python test.py --path examples/29899.jpg --style cartoon

About


Languages

Language:Python 79.9%Language:Cuda 17.4%Language:C++ 2.7%