stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: DAT upscaler in extra tab is not working

Open sipie800 opened this issue 1 year ago • 3 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [ ] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [ ] The issue exists in the current version of the webui
  • [ ] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

dev branch newest ver. The DAT upscaler is working in text2img tab hires.fix actually. In extra tab, the console shows the processing bar by tiling. After a while, the result is just the same as if choosing None or a lanczos, the model is outputing nothing. Perhaps it's working but the result is not showed properly or something went wrong. Tested for DATx2 or DATx4. I set scale by value 2 if that is no wrong.

Steps to reproduce the problem

None

What should have happened?

None

What browsers do you use to access the UI ?

No response

Sysinfo

win10 torch 2.1 cuda12

Console logs

just normal

Additional information

No response

sipie800 avatar Feb 18 '24 14:02 sipie800

Show screenshot of your processing settings

light-and-ray avatar Feb 20 '24 16:02 light-and-ray

Maybe it's my mistaking. The DAT model is doing upscaling, just not really doing well. It changes the raw image a little and the result is far from a LDSR or SwinIR.

sipie800 avatar Feb 21 '24 11:02 sipie800

have the same problem, it upscales as in the original model but doesn't do anything special to the image, I use img2img the model from here: https://openmodeldb.info/models/4x-LSDIRDAT is working well and responding to the CFG setting and you can see a huge effect but I trained so far 2 DAT models (https://github.com/zhengchen1999/DAT) and none of them change anything from the CFG setting :( I don't know why this model from openmodeldb is working but my custom trained models don't

I tested this on 3 Stable Diffusion models: v2-1_512-ema-pruned.ckpt, v2-1_768-ema-pruned.ckpt, v1.5-pruned-emaonly

Ihttp://manoa.dream.org.il/Pics/Untitled.png

Manoa1911 avatar Apr 27 '24 20:04 Manoa1911