AnimeGAN icon indicating copy to clipboard operation
AnimeGAN copied to clipboard

Question about style

Open jiwoongim opened this issue 4 years ago • 3 comments

Hi

I ran python test.py --checkpoint_dir checkpoint/generator_Hayao_weight --test_dir dataset/test/real --style_name H and got a nice results as you shown!

There are three styles, Hayao, Paprika, and Shinkai, I notice that you used style_name=H. Does this mean that you use capital letters for other ones too? Shinkai for S and paprika for P?

I tried setting --style_name S and --style_name Shinkai, but it still gives the same result as --style_name H

jiwoongim avatar Oct 22 '20 21:10 jiwoongim

I use capital letters S for Shinkai and P for paprika. This is just the definition of the name of the style folder, you can name it whatever you want. In order to get a different style you also need to change the checkpoint directory. 2333~

TachibanaYoshino avatar Oct 23 '20 05:10 TachibanaYoshino

I notice that i only have Hayao weights in checkpoint:

[ji641@cassio AnimeGAN]$ ls checkpoint/ AnimeGAN_Hayao_lsgan_300_300_1_2_10 generator_Hayao_weight

Is there only pretrained other models, or do i need to re-train? I don't think the pretrained_model link in readme.md works.

Thanks

jiwoongim avatar Oct 27 '20 14:10 jiwoongim

I only provide a pre-training model of Hayao style. The others need to be retrained by yourself. The link in the readme points to the pre-training weights in the release. However, AnimeGANv2 has released a new data set and all pre-trained models.

TachibanaYoshino avatar Nov 03 '20 02:11 TachibanaYoshino