Downscaled Images are black
I managed to get the provided models running, however when I run it the downscaled pictures are just black and therefore so are the upscaled pictures. The pictures have the correct amount of pixels and the ratio is correct. Does anyone know what might cause this issue?
Please check the value of pixels.The default setting is 0~255(rgb range).
Please check the value of pixels.The default setting is 0~255(rgb range).
Can you tell me how to check this properly? And, if so, could this be included in the README?
I'm considering a variety of issues, and I'd like to rule out this option as quickly as possible.
I get the exact same result with you. All down sampled image pixels are 0. I think issue is in the adaptive grid sampler model.
In the grid sampler.py file forward(img, kernels, offsets_h, offsets_v, offset_unit, padding, output) line output array always return full of 0. Is there any advice to handle that?
I am experiencing the same issue, all output arrays from the forward method of the custom downsampler function are zero.