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

Color saturation? #37

Open
litingfeng opened this issue Nov 25, 2019 · 1 comment
Open

Color saturation? #37

litingfeng opened this issue Nov 25, 2019 · 1 comment

Comments

@litingfeng
Copy link

Not sure if I should call the problem as color saturation. In my generated images, I found out there's some pixel chunks, like the black area in the image below.

im

How should I solve this problem? FYI, the original images are 3232, I resized them to 256256, then train the decoder.

Thanks,

@ZhongliangGuo
Copy link

just do torch.clamp(tensor, 0, 1)

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