Coyote-A / ultimate-upscale-for-automatic1111

GNU General Public License v3.0
1.62k stars 162 forks source link

AssertionError: could not find upscaler named [] #51

Open wuhu290 opened 1 year ago

wuhu290 commented 1 year ago

Hello, I encountered this problem when using the stable diffusion graph,may I know what is the reason image

acoolrocket commented 1 year ago

Had the same issue just after updating WebUI, strangely my other PC that also updated WebUI didn't have the issue. So I took to just reinstalling WebUI after obviously backing up all my configs/models and stuff and it works now.

Edit: It was actually something in config.json, its probably this field "upscaler_for_img2img": "", It shouldn't have "upscaler_for_img2img": null"

If else delete config.json entirely and reconfigure again.

laojingwei commented 1 year ago

@acoolrocket Why do I still get this error after reinstalling? "could not find upscaler named {upscaler_name}

acoolrocket commented 1 year ago

@acoolrocket Why do I still get this error after reinstalling? "could not find upscaler named {upscaler_name}

Did you make sure the line in the config.json was as such and deleted it in case?

Adzeiros commented 1 year ago

@acoolrocket Why do I still get this error after reinstalling? "could not find upscaler named {upscaler_name}

Did you make sure the line in the config.json was as such and deleted it in case?

My config has the line as: "upscaler_for_img2img": "",

Is that correct? I don't seem to be having issues, but everytime it goes to generate a tile it prints in the console could not find upscaler named <empty string>, using None as a fallback