-
Notifications
You must be signed in to change notification settings - Fork 66
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
about scale factor #9
Comments
Currently, our model only supports x4 SR task. |
How to modify this? @zsyOAOA |
+1 |
How to modify this? I do not understand why the scale factor has been fixed? @zsyOAOA |
Our noise predictor is trained to predict the noise map in the latent space of VQGAN, which is downsampled 8x times spatially. Thus we have to adjust the number of downsampling operators according to the scale factor. E.g., for x4 SR task, the noise predictor contains two downsampling layers as shown in [config[(https://github.com/zsyOAOA/InvSR/blob/master/configs/sample-sd-turbo.yaml#L43) to match the resolution of latent space. Therefore, we can't directly modify the scale factor! @flynnamy |
Thant means even if I put sf:1 during training, I still cant generate 1X SR at prediction? |
Super-resolution settings
basesr:
sf: 1
chopping: # for latent diffusion
pch_size: 512
weight_type: Gaussian
I change the scale factor to 1,but it dosen't work:

The text was updated successfully, but these errors were encountered: