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

[Feature Request]: Add waifu2x as upscaler?

Open YudhaDev opened this issue 3 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

ability to choose waifu2x upscaler in extra

Proposed workflow

  1. Go to extra
  2. choose waifu2x upscaler, set parameters
  3. profits(?

Additional information

No response

YudhaDev avatar Oct 26 '22 03:10 YudhaDev

we already have a drag and drop windows GUI which is fast and convince. https://github.com/YukihoAA/waifu2x_snowshell/releases/tag/v2.6 use the vulkan.zip for any graphic cards with the fastest speed.

if you are MacOS or Linux, use its vulkan version's own CLI tool https://github.com/nihui/waifu2x-ncnn-vulkan/releases

dtlnor avatar Oct 26 '22 06:10 dtlnor

Probably preferable to use the new official version of waifu2x developed by @nagadomi over at nagadomi/nunif, as it uses pytorch.

Drag and drop GUI isn't useful if you have no GPU. Even less useful if you're doing this from an Android tablet, like I am...

anonderpling avatar Feb 23 '23 01:02 anonderpling

it would be nice and convenient why not?

D-a-r-n-o-l-d avatar Apr 18 '23 20:04 D-a-r-n-o-l-d

it would be nice and convenient why not?

as there is a official waifu2x pytorch implementation now, you may write code to merge waifu2x into webui yourself, and ask code owner to merge your code. (its not just a few lines of code to add waifu2x to webui)

dtlnor avatar Apr 19 '23 03:04 dtlnor

I have made this extension https://github.com/light-and-ray/sd-webui-waifu2x-upscaler

light-and-ray avatar Jun 26 '24 03:06 light-and-ray

I have made this extension https://github.com/light-and-ray/sd-webui-waifu2x-upscaler

I guess you may want to checkout the latest result about waifu2x from its original author https://github.com/nagadomi/nunif/tree/master/waifu2x

for, like, the latest waifu2x model, the official pytorch implementation, and the hyper speed onnx model

dtlnor avatar Jun 26 '24 07:06 dtlnor

I've seen it, but it's too complicated repo, no examples or they are hidden. And it's "playground" so unstable

Idk, maybe you're right, it's faster. But I think the repo I've used is also speed enought. Btw png saving is much much slower, about 5 times for big images :)

light-and-ray avatar Jun 26 '24 07:06 light-and-ray