Hypernetwork-MonkeyPatch-Extension icon indicating copy to clipboard operation
Hypernetwork-MonkeyPatch-Extension copied to clipboard

Exception upon clicking interrupt

Open larssn opened this issue 1 year ago • 4 comments

  File "F:\Software\stable-diffusion-webui\extensions\Hypernetwork-MonkeyPatch-Extension\patches\external_pr\textual_inversion.py", line 412, in train_embedding
    processed = processing.process_images(p)
  File "F:\Software\stable-diffusion-webui\modules\processing.py", line 486, in process_images
    res = process_images_inner(p)
  File "F:\Software\stable-diffusion-webui\modules\processing.py", line 713, in process_images_inner
    extra_networks.deactivate(p, extra_network_data)
UnboundLocalError: local variable 'extra_network_data' referenced before assignment

This happened interrupting an embedding

larssn avatar Feb 26 '23 23:02 larssn

@larssn That's weird problem with webui itself since extension does not do anything with it, but can you try updating both webui and extension to most recent version?

aria1th avatar Feb 27 '23 08:02 aria1th

Sorry, forgot to mention that this was on the most recent version of both.

Hmm, weird. I haven't experienced this using the standard "Train" tab. Maybe it's a newly introduced bug in webui.

I suggest we keep this open. We can always close it later if it goes away on its own. 🙂

larssn avatar Feb 27 '23 10:02 larssn

unfortunately I was not able to reproduce the issue... but possible fix has updated now, can you try it?

aria1th avatar Feb 27 '23 16:02 aria1th

Seems to be gone atm 👍

larssn avatar Mar 07 '23 22:03 larssn