twtygqyy/pytorch-SRResNet

Problem in 3-channeled image output

sonal-bansal opened this issue · 2 comments

Hi,
When i'm displaying my 3 channeled output image, it is not at all good and looks something like this:-
rgb

When I'm displaying my single channeled output ,it still shows proper image features ,like this:-
singlechannel

Though I've started to train my model and it isn't even 50 epochs till now, but I really want to know why is this happening.

Thank you .

Hi @sonal-bansal, check the type of the array and make sure it is np.uint8 before imshow

Yeah,I got it . How much did you trained your srresnet?

Thanks.