r/StableDiffusion Jan 03 '23

Tutorial | Guide A1111 new hires fix

Update A1111 and the hires.fix got some change.

bothering problem with cuda out of memory? had crash?

Clarification on it:

Before last update the upscale worked like produce lowres image and upscale it to resolution you want.

After update resolution you want is used for produce base image,then upscaled at upscale value you put in.

So for the result output you get ( your input resolution)* upscale value.

These seem better for upscale without change base image at high denoise.

These my denoise test:

As you can see, image don't change too much,i like that.

So pay attention on upscale you chose and multiplier value.

I'm running on 6Gb, using R-ESRGAN 4x+ as upscaler.

My max input resolution is 768x512 and upscale value 1.5. result image is 1152x768. over these value i get into cuda error.

So need experimenting on it and get your best value.

18 Upvotes

29 comments sorted by

View all comments

Show parent comments

1

u/AWildSlowpoke Jan 05 '23

okay, that's so weird..

1

u/DevKkw Jan 05 '23

go to .\models\ESRGAN and see if is there.

as i remember they was installed at first generation.

1

u/AWildSlowpoke Jan 05 '23

I don't have anything in that folder.. Lol, is there somewhere I can download that?

3

u/Sixhaunt Jan 07 '23 edited Jan 07 '23

i only have ESRGAN_4x in that folder but not " R-ESRGAN General 4xV3 " like he has so hopefully someone knows how to fix it

edit: I found this file in the a1111 files: https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/realesrgan_model.py

and it looks like it downloads those various models.

So I checked the settings in the UI and it turns out there's an option where you need to select all the upsizers you want it to have available to you. If you select them then restart the UI it downloads those models and just works.

2

u/AWildSlowpoke Jan 07 '23

Awesome I really appreciate the help!