GFPGAN-onnxruntime-demo icon indicating copy to clipboard operation
GFPGAN-onnxruntime-demo copied to clipboard

gfpgan onnx model giving bad results

Open dummyuser-123 opened this issue 1 year ago • 1 comments

I have used your script and converted gfpgan pth model into onnx model but I am getting horrible results. Like output image is same as input image (in terms of dimensions/size) and the output gets worst after inference. In short, it is not doing super resolution on the image and also making current input image bad.

@xuanandsix So, what could be the possible reason behind this problem ? ( Btw, I have done all the steps properly that you have mentioned in the readme file.)

Input Image: depositphotos_389009186-stock-photo-full-length-studio-portrait-handsome

Output Image: depositphotos_389009186-stock-photo-full-length-studio-portrait-handsome_upscaled_gfpgan

dummyuser-123 avatar Feb 28 '24 12:02 dummyuser-123