AdaIN-style icon indicating copy to clipboard operation
AdaIN-style copied to clipboard

Color saturation?

Open litingfeng opened this issue 5 years ago • 1 comments

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,

litingfeng avatar Nov 25 '19 18:11 litingfeng

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

ZhongliangGuo avatar Feb 09 '24 16:02 ZhongliangGuo