XPixelGroup / HAT

CVPR2023 - Activating More Pixels in Image Super-Resolution Transformer Arxiv - HAT: Hybrid Attention Transformer for Image Restoration
Apache License 2.0
1.21k stars 149 forks source link

Very poor reconstruction and strange patterns in Real_HAT_GAN_SRx4_sharper.pth #94

Closed kongyuzhuo closed 1 year ago

kongyuzhuo commented 1 year ago

Hi,

Firstly I'm very appreciate this work in SR. But when I used 'Real_HAT_GAN_SRx4_sharper.pth' to test my own image I found some strange patterns and mosaics. My comment is 'python hat/test.py -opt options/test/HAT_GAN_Real_SRx4.yml'. I don't know why I met this question.... Could you help me to desolve this?

image

Best,

chxy95 commented 1 year ago

@kongyuzhuo look weird... Have you tried other data? Is it just this image or does this happen to all the images you tested?

kongyuzhuo commented 1 year ago

@kongyuzhuo look weird... Have you tried other data? Is it just this image or does this happen to all the images you tested? Hi, chxy95, I have solved this problem when I switched torch 1.8.1 to torch 1.11.0, and the reconstruction seems normal. Thanks for your help :) image