Klace / stable-diffusion-webui-instruct-pix2pix

Extension for webui to run instruct-pix2pix
Other
320 stars 20 forks source link

Error loading script: instruct-pix2pix.py #43

Open TheMindExpansionNetwork opened 1 year ago

TheMindExpansionNetwork commented 1 year ago

Error loading script: instruct-pix2pix.py Traceback (most recent call last): File "G:\AI\stable-diffusion-webui\modules\scripts.py", line 229, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "G:\AI\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module exec(compiled, module.dict) File "G:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-instruct-pix2pix\scripts\instruct-pix2pix.py", line 731, in sd_hijack_utils.CondFunc('modules.models.diffusion.ddpm_edit.LatentDiffusion.decode_first_stage', sd_hijack_unet.first_stage_sub, sd_hijack_unet.unet_needs_upcast) AttributeError: module 'modules.sd_hijack_unet' has no attribute 'first_stage_sub' \

I am getting this error when I attempt to install automatic1111 and manually anyone know what the issue could be

brkirch commented 1 year ago

You need to update your install of web UI. first_stage_sub was added as of https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/fecb990debdae2cc99b64808d22ba902e34e575b