zer0TF / xyz_plot_script

XYZ Plot Script for Stable Diffusion WebUI
The Unlicense
52 stars 9 forks source link

AttributeError: module 'modules.hypernetworks.hypernetwork' has no attribute 'apply_strength' #17

Open joeysantana3 opened 1 year ago

joeysantana3 commented 1 year ago

I installed this script per the doc and am running in to an issue when trying to use it.

In Automatic 1111, in the txt2img tab, I have X/Y/Z plot selected. X Type Steps X values 10,20,30,40,50 Y type CFG Scale Y values 5,6,7,8,9,10 Z type Sampler Z values euler a

All of the images get generated, but then I get the following error:

Arguments: ('task(x6szqcdl2w34quj)', 'a photo of man', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, [], 5, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', True, -1.0, False, None, None, '', '', '', '', 'Auto rename', {'label': 'Upload avatars config'}, 'Open outputs directory', 'Export to WebUI style', True, {'label': 'Presets'}, {'label': 'QC preview'}, '', [], 'Select', 'QC scan', 'Show pics', None, False, False, 'positive', 'comma', 0, False, False, '', 'Positive', 0, ', ', 'Generate and always save', 32, 4, '10,20,30,40,50', 5, '5,6,7,8,9,10', 8, 'euler a', False, '{inspiration}', None) {}

Traceback (most recent call last):
  File "C:\Users\joeys\source\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "C:\Users\joeys\source\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "C:\Users\joeys\source\stable-diffusion-webui\modules\txt2img.py", line 53, in txt2img
    processed = modules.scripts.scripts_txt2img.run(p, *args)
  File "C:\Users\joeys\source\stable-diffusion-webui\modules\scripts.py", line 376, in run
    processed = script.run(p, *script_args)
  File "C:\Users\joeys\source\stable-diffusion-webui\scripts\xyz_grid.py", line 405, in run
    with SharedSettingsStackHelper():
  File "C:\Users\joeys\source\stable-diffusion-webui\scripts\xyz_grid.py", line 241, in __exit__
    hypernetwork.apply_strength()
AttributeError: module 'modules.hypernetworks.hypernetwork' has no attribute 'apply_strength'

I haven't played with hyper networks yet, so all settings related to that are standard.