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

Is the DRCT Upgrader supported?

Open alex9441 opened this issue 8 months ago • 6 comments

I have used the DRCT model for super-resolution upgrading of images with satisfactory results. However, I still receive the error message.

WARNING:modules.modelloader:Model 'D:\888-88\stable-diffusion-webui-Forge\\models\esrgan\\4xmssim_drct-l_pretrain.pth' is not a ' ESRGAN' model (got 'DRCT')

I'm a bit confused by this message. I want to make sure that FORGR supports the DRCT model.

alex9441 avatar Mar 30 '25 15:03 alex9441

Forge has built-in support for the following upscalers:

  • ESRGAN/ESRGAN+
  • DAT
  • HAT
  • SwinIR
  • SCUNet (technically a denoiser)

It should be possible to add more via extensions like SwinIR and SCUNet are. I'll take a look at making an extension. Part of what can be supported also depends on the version of Spandrel that Forge uses.

MisterChief95 avatar Apr 02 '25 21:04 MisterChief95

Created an extension to add some more upscalers. https://github.com/MisterChief95/sd-webui-extra-upscalers

Adds the following:

  • ATD
  • DRCT
  • MoSR (requires spandrel >= 0.4.0)
  • MoESR (requires spandrel >= 0.4.1)
  • PLKSR
  • RealPLKSR
  • RCAN (requires spandrel >= 0.4.1)

You'll have to manually upgrade spandrel in your venv to use MoSR, MoESR, and RCAN.

MisterChief95 avatar Apr 18 '25 03:04 MisterChief95

Created an extension to add some more upscalers. https://github.com/MisterChief95/sd-webui-extra-upscalers

Adds the following:

* ATD

* DRCT

* MoSR (requires `spandrel >= 0.4.0`)

* MoESR (requires `spandrel >= 0.4.1`)

* PLKSR

* RealPLKSR

* RCAN (requires `spandrel >= 0.4.1`)

You'll have to manually upgrade spandrel in your venv to use MoSR, MoESR, and RCAN.

Had to add "spandrel-extra-arches" as well (otherwise I was getting an error) and the extension works now, thanks

spandrel==0.4.1 spandrel-extra-arches==0.2.0

neojam avatar May 10 '25 09:05 neojam

I have a similar issue.

I have installed the https://github.com/MisterChief95/sd-webui-extra-upscalers extension and manually upgraded the Spandrel to 0.4.1. However, every time I launch the WebUI Forge, the Spandrel is set back to 0.3.4.

What should I do?

Bronyasdog avatar Jul 22 '25 14:07 Bronyasdog

I have a similar issue.

I have installed the https://github.com/MisterChief95/sd-webui-extra-upscalers extension and manually upgraded the Spandrel to 0.4.1. However, every time I launch the WebUI Forge, the Spandrel is set back to 0.3.4.

What should I do?

It might be reinstalling dependencies from requirements each time you launch. Try changing the versions in the requirements_version.txt at the root of the Forge install:

spandrel==0.4.1
spandrel-extra-arches==0.2.0

MisterChief95 avatar Jul 22 '25 19:07 MisterChief95

I have a similar issue. I have installed the https://github.com/MisterChief95/sd-webui-extra-upscalers extension and manually upgraded the Spandrel to 0.4.1. However, every time I launch the WebUI Forge, the Spandrel is set back to 0.3.4. What should I do?

It might be reinstalling dependencies from requirements each time you launch. Try changing the versions in the requirements_version.txt at the root of the Forge install:

spandrel==0.4.1
spandrel-extra-arches==0.2.0

It works! Thank you so much!

Bronyasdog avatar Jul 23 '25 06:07 Bronyasdog