SRFlow icon indicating copy to clipboard operation
SRFlow copied to clipboard

Allow custom LRs to train on JPEG artifacts, dithering, etc

Open n00mkrad opened this issue 4 years ago • 3 comments

Currently, ESRGAN outperforms SRFlow when it comes to uncompressed upscaling.

And SRFlow can't be trained on JPEGs or other artifacts.

Is it possible to use custom LR images that have been augmented?

n00mkrad avatar Jan 13 '21 13:01 n00mkrad

And SRFlow can't be trained on JPEGs or other artifacts.

Why?

ALLinLLM avatar Jan 14 '21 02:01 ALLinLLM

Why?

Because the dataset preparation script seems to directly use downscaled versions of the HRs, not allowing any manual editing.

n00mkrad avatar Jan 14 '21 08:01 n00mkrad

You can train SRFlow on any kind of LR images, eg with JPEG, noise, etc. Please just modify the data processing pipeline to include the degradations you want.

Regards, Martin

martin-danelljan avatar Jan 14 '21 11:01 martin-danelljan