Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about style #43

Open
jiwoongim opened this issue Oct 22, 2020 · 3 comments
Open

Question about style #43

jiwoongim opened this issue Oct 22, 2020 · 3 comments

Comments

@jiwoongim
Copy link

jiwoongim commented Oct 22, 2020

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

@TachibanaYoshino
Copy link
Owner

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~

@jiwoongim
Copy link
Author

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

@TachibanaYoshino
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants