remicres/sr4rs

Hr image display error

Closed this issue · 2 comments

I downloaded a S2 image and followed the instructions to produce the HR image using the pre-trained model. However, the output test.tiff image cannot be displayed on a GIS software. It throws me the following error.

Screenshot

Yes I believe this is an issue with the TIF/DEFLATE algorithm used by GDAL when the output image is written.
It is linked to #32 .
It looks like this problem happens only for big output images. Maybe we have to add BIGTIFF=YES, I don't know.

Anyway, the simplest workaround is to remove completely the extended filename used for raster creation.

I just have fixed this in master branch.

Just re-generate your image after updating sr.py