AnimeGAN
效果
这2个模型要求,python版本不能太高,否则无法安装 tensorflow 1.15.0 版本
- python 3.6
- tensorflow-gpu 1.15.0 (GPU 2080Ti, cuda 10.0.130, cudnn 7.6.0)
ARGAN
这是 AnimeGANv2 的改进版本
使用
pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py3-none-any.whl
pyenv install 3.6.0
pyenv virtualenv 3.6.0 360
pyenv activate 360
source ~/.bashrc
python test.py --checkpoint_dir checkpoint/generator_Hayao_weight --test_dir dataset/test/HR_photo --style_name Hayao/HR_photo
python test.py --checkpoint_dir checkpoint/generator_Hayao_weight --test_dir in/ --style_name Hayao/HR_photo
python video2anime.py --video input.mp4 --checkpoint_dir checkpoint/generator_Paprika_weight