AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.73k stars 27.04k forks source link

[Bug]: ScuNet quality issue #3804

Open kenjiqq opened 2 years ago

kenjiqq commented 2 years ago

Is there an existing issue for this?

What happened?

The ScuNet implementation recently added seems to be bugged as it produces worse quality images then the official demo here https://replicate.com/cszn/scunet. Using their own example images, first is original, second using the online demo and third the one created by this app: Flowers output tmpooue_vzr 6 output tmp7e9z4hlf

This implementation seems to lose a lot more details by smoothing out the image more and also changes the colors a lot.

Also as a side note the two different ScuNet models seems to create identical images, diffing an image from each of them with PIL returns identical image data.

Steps to reproduce the problem

  1. Go to Extras tab
  2. Load an image with some noise and chose one of the ScuNet models
  3. Generate the image
  4. Go to https://replicate.com/cszn/scunet
  5. Use the same image and make sure real image denoising is selected
  6. Submit to generate the image
  7. Compare the two results

What should have happened?

Quality of the generated image in this repo should be similar to the demo generated image

Commit where the problem happens

737eb28faca8be2bb996ee0930ec77d1f7ebd939

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No commands

Additional information, context and logs

No response

slymeasy commented 1 year ago

What happened to Scunet? It's no longer available.