Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Upscaling adds background to the image #42

Open
IMXEren opened this issue Apr 8, 2023 · 2 comments
Open

Upscaling adds background to the image #42

IMXEren opened this issue Apr 8, 2023 · 2 comments

Comments

@IMXEren
Copy link

IMXEren commented Apr 8, 2023

I tried upscaling the image (IMAGE1, PNG), with all of the upscaling options (x4, x16) but it returns the upscaled image (IMAGE2) with a black background. IMAGE1 has transparent background. Also, tried with Real-ESRGAN vulcan (model realesr-animevideov3) which returns the image (IMAGE3) without the background. Is this expected or a bug?

IMAGE1

E7MeMgW

IMAGE2

E7MeMgW_x4

IMAGE3

E7MeMgW_realesr

@Lucchetto
Copy link
Owner

Hi, unfortunately this is expected behaviour since models are trained on images without alpha channel. Maybe I should add a warning in-app

@IMXEren
Copy link
Author

IMXEren commented Apr 11, 2023

Okay, that'll be fine! Your app is great, keep up the hard work. Upscaling is just about a few clicks process because of you & your support (if there is any). You may close this issue. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants