Closed girllover2154 closed 1 year ago
Can you check the "Plot lora weights" option and provide a chart of the weights used?
I need as many specifics - versions used, other extensions used, any relevant log messages, etc. Without a reproduction case, there's not a whole lot I can do.
This are the errors I was given. Other Extensions used are ControlNet and Lora Weight Blocks
This is the prompt used: masterpiece, best quality, best aesthetic, anime, ultra detailed, hy1, hair ornament, multicolored hair, 1girl, solo, 18-year old girl, short twintails, large breasts, wide hips, eyebrows visible through hair, midriff, long legs, large blue eyes, (black bra with white lace and straps:1.2), black bra, (pink boyshorts with black and white lines on the hips:1.2), pink shorts, short shorts, (taking off a pink open hoodie:1.1), jacket, hoodie, hood down, standing, looking seductively at the viewer, slight smile, sexy posing, (relaxed eyes:1.2), white background, yu-gi-oh! arc-v, illustration, front view, cowboy-shot, lora:hiiragi_yuzu_v1:te=0.5@0.5,0.7@0.5,0.8@0.8:lbw=OUTALL:unet=1@0,0.7@0.5,0.8@0.8, lora:more_details:te=0.5@0.5,0.7@0.5,0.8@0.8:unet=-0.5@-0.5
lora-block-weight and composable-lora are not compatible with the 1.5-style syntax or with loractl's step syntax. lora-block-weight in particular is breaking there, as you can see in that "ValueError: Could not convert string to float" error. It cannot handle string lora weights.
So, should I unistall them or simply stop using them?
You'll likely need to disable them to use the 1.5 split unit/te syntax or the loractl step control syntax.
Very well. I could if only the extensions page wouldn't so long to load. But anyway, thanks for the help.
Even without the "Lora Weight BLock" and "Composable Lora" extensions, I'm still getting these f@%%*ing NaN errors. I'm thinking there's something else being the non-sensical errors.
This is what I got now:
Error completing request
Arguments: ('task(xcyaray7btz3azh)', 0, 'masterpiece, best quality, best aesthetic, anime, ultra detailed, yu-gi-oh! arc-v, \nhy1, hair ornament, multicolored hair, hiiragi yuzu, 1girl, solo, 18-year old girl, (pink hair:1.21551), short twintails, (blue hairclips:1.1), large breasts, wide hips, long legs, pink pubic hair, (blue eyes:1.2), (nude:1.2), nipples, female focus, (nsfw:1.15763), straddling, wariza, (open mouth:1.21551), bedroom setting, illustration, on bed, looking at viewer, Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8 Will upscale the image by the selected scale factor; use width and height sliders to set tile size Will upscale the image depending on the selected target size type\n
\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', 'CFG Scale
should be 2 or lower.
And this was the prompt I attempted to use:
masterpiece, best quality, best aesthetic, anime, ultra detailed, yu-gi-oh! arc-v,
hy1, hair ornament, multicolored hair, hiiragi yuzu, 1girl, solo, 18-year old girl, (pink hair:1.21551), short twintails, (blue hairclips:1.1), large breasts, wide hips, long legs, pink pubic hair, (blue eyes:1.2), (nude:1.2), nipples, female focus, (nsfw:1.15763), straddling, wariza, (open mouth:1.21551), bedroom setting, illustration, on bed, looking at viewer,
"""
Called by processing on every run. Whatever the extra network is meant to do should be activated here.
Passes arguments related to this extra network in params_list.
User passes arguments by specifying this in his prompt:
<name:arg1:arg2:arg3>
Where name matches the name of this ExtraNetwork object, and arg1:arg2:arg3 are any natural number of text arguments
separated by colon.
Even if the user does not mention this ExtraNetwork in his prompt, the call will stil be made, with empty params_list -
in this case, all effects of this extra networks should be disabled.
Can be called multiple times before deactivate() - each new call should override the previous call completely.
For example, if this ExtraNetwork's name is 'hypernet' and user's prompt is:
> "1girl, <hypernet:agm:1.1> <extrasupernet:master:12:13:14> <hypernet:ray>"
params_list will be:
[
ExtraNetworkParams(items=["agm", "1.1"]),
ExtraNetworkParams(items=["ray"])
]
"""
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/extra_networks.py
sd-webui-loract does not process activation, and only processes weight changes according to the steps and weights passed as specific values instead of attempting to parse the prompt itself to fix any potential user errors.
Personally, I noticed I kept forgetting "0." so i was nuking some of my renders because yes. So I idiot-proofed it against myself
for x in pr_lo[:-1:].replace('>','\n').replace('<lora:','').replace('te=','').replace('unet=','').split('\n'): lr_fix = r'<lora:'+x.split(':')[0].strip()+r':'+','.join(r'0.'+str(f).replace(r'0.',r'').replace(r'@',r'@0.') for f in x.split(':')[1].strip().split(r','))+r':'+','.join('0.'+str(f).replace('0.','').replace('@ ','@0.') for f in x.split(':')[2].strip().split(','))+r'>'
all the loras: re.findall(r'([<].*?[>])',f))
all the N@N,Non-NaNs: re.findall(r'\D([^:][\d.])@([\d.])[\D]',f)
'lora:__loraname__:te=1@0,0@1:unet=1@0,0@1' broken af (Though, I now understand why your examples only used either <:te=:N> OR <:N:unet=>, as I was confused why you did not declare all of the keyword arguments in your Readme.MD.
Mmmmm.... a too complex of an explanation. Just tell what should avoid using, that'll be it for me.
I'd be happy for a pull request to add some of that sanitization/bad data-proofing.
The semicolon splitting is there as an alternate delimiter for usage in X/Y grids, which use commas for delimiting the variants to iterate through.
I'd be happy for a pull request to add some of that sanitization/bad data-proofing.
The semicolon splitting is there as an alternate delimiter for usage in X/Y grids, which use commas for delimiting the variants to iterate through.
That'll be helpful, thanks
WebUI just straight gives me NaN instead of actually making images because of (according to the message I get) an error in unet when using this extension in the prompt. And when I tried using the --no-half command line, it just gives me this thing in the attached file.
Just the heck is going on?