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

Generate g higher resolution images #9

Open
yangyvhang666 opened this issue Apr 11, 2020 · 3 comments
Open

Generate g higher resolution images #9

yangyvhang666 opened this issue Apr 11, 2020 · 3 comments

Comments

@yangyvhang666
Copy link

Hi,I find that if i modify the resolution of the generated image,the generated images get bad results.Should I increase the number of concurrently trainde stages?

@tohinz
Copy link
Owner

tohinz commented Apr 12, 2020

Hi, I suggest increasing the number of --trained_stages (default is 6) in general. This should already improve results for higher resolutions.
If this is not enough you can also increase the --lr_scale (default is 0.1 - you could try 0.5).
Finally, it might be necessary to train for more iterations on higher stages/resolutions and/or adapt other hyperparameters (receptive field of the discriminator/generator, learning rate, etc).

@yangyvhang666
Copy link
Author

Thanks for your reply,I tried increase the --trained_stages and the lr_scale,but it might did't work,I want to know the --max_size and the --min_size should be setted to have some kind of proportional relationship?

@tohinz
Copy link
Owner

tohinz commented Apr 14, 2020

--min_size should be left at some small value, so I wouldn't change it or at least not increase it. --min_size and --max_size do not need to have a proportional relationship, rather --max_size and --trained_stages should be somewhat proportional, i.e. the larger --max_size the larger --trained_stages should be.
How high did you set --trained_stages to be? What exactly is the problem with the higher-resolution images? Is the global structure wrong or are there artifacts in the images?

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