Photos, pictures, cartoons, cartoons

AnimeGAN

GitHub - TachibanaYoshino/AnimeGANv2: [Open Source]. The improved version of AnimeGAN. Landscape photos/videos to anime

GitHub - TachibanaYoshino/AnimeGANv3: Use AnimeGANv3 to make your own animation works, including turning photos or videos into anime.

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

GitHub - amirzenoozi/ARGAN: [Open Source]. ARGAN - The improved version of AnimeGAN. Landscape photos/videos to anime

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

Guess you like

Origin blog.csdn.net/linzhiji/article/details/132719339