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

How to set the crop size when using CUT to generate fake images, 256 * 256? #9

Open
JHC1998 opened this issue Jan 11, 2023 · 1 comment

Comments

@JHC1998
Copy link

JHC1998 commented Jan 11, 2023

Hello sir,
When you use CUT model to generate fake images on cityscapes and foggy datasets, how to set the crop(input) size, 256256? or 960960? Could you give us more details about the picture quality of generated fake images? Thank you very much!

@hnuzhy
Copy link
Owner

hnuzhy commented Mar 31, 2023

This is a hyperparameter of the CUT model. You can use the default 256x256 crop_size as if you can obtain an ideal style transfer result. If not, you may change it smaller (e.g., 128x128) or bigger (e.g., 384x384 or 512x512). I think 5 to 10 epochs are enough to reflect the effect of different crop_sizes.

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