AnimeGAN
Effect
These two models require that the python version cannot be too high, otherwise tensorflow 1.15.0 version cannot be installed.
- python 3.6
- tensorflow-gpu 1.15.0 (GPU 2080Ti, cuda 10.0.130, cudnn 7.6.0)
ARGAN
This is an improved version of AnimeGANv2
use
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