Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

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

Open
joeysantana3 opened this issue Feb 14, 2023 · 0 comments

Comments

@joeysantana3
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant