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

Training set image resolution #85

Open
davidecarnevali opened this issue Oct 20, 2021 · 4 comments
Open

Training set image resolution #85

davidecarnevali opened this issue Oct 20, 2021 · 4 comments

Comments

@davidecarnevali
Copy link

Hi,
is there a way to train using a dataset of images with shape that is not a power of 2? Such as 400x400 or even 420x400?
Thank you

Davide

@zsyzzsoft
Copy link
Collaborator

Yes, the tf version of DiffAugment-stylegan2 supports this (still not implemented if length is not equal to width). It will first generate images at a resolution of the nearest power of 2 and then crop to the images to the original size.

@davidecarnevali
Copy link
Author

davidecarnevali commented Oct 22, 2021 via email

@zsyzzsoft
Copy link
Collaborator

Unfortunately we will not update the code to support new features. You may have a try following the basic idea in our tf code.

@davidecarnevali
Copy link
Author

davidecarnevali commented Oct 22, 2021 via email

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