-
Notifications
You must be signed in to change notification settings - Fork 559
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
Artifact SWINIR (training Model as Generator GAN) #144
Comments
Hello, please which SWINIR parameter can be used to adjust the presence of light noises? |
This is probably due to not clipping the result to 0-1 (or 0-255) in each of your output channels. If they are out of this range, say the blue channel is 256, it will become 0, and you will be left with red and green, which will result in funny looking patches. |
Hi, I also meet this problem. Can you tell me how you solved it? Thanks!!! |
I've solved the problem. |
how you solved the problem ? |
The pixel value of the output image may exceed 1 or 255. Just control the pixel value of each channel to 0-1 or 0-255. Like this: torch.clamp(netG(z), min=0, max=1). Also, how did you solve it? |
i'm trying to train the swinIR model separately in a GAN. but i'm getting light artifacts in my results. is this normal when training swinIR? if so, how can i remove them?
The text was updated successfully, but these errors were encountered: