cheald / sd-webui-loractl

An Automatic1111 extension for dynamically controlling the weights of LoRAs during image generation
MIT License
239 stars 10 forks source link

Float issue #19

Closed sadsilly closed 1 year ago

sadsilly commented 1 year ago

activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000001E3303518D0>]: ValueError Traceback (most recent call last): File "C:\ai\final sd\stable-diffusion-webui\modules\extra_networks.py", line 135, in activate extra_network.activate(p, extra_network_args) File "C:\ai\final sd\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 30, in activate te_multiplier = float(params.positional[1]) if len(params.positional) > 1 else 1.0 ValueError: could not convert string to float: '0@0,0.4@0.5'

started getting this after updating to 1.6 image

sadsilly commented 1 year ago

i just noticed it also giving me this error when i launch automatic

image

sadsilly commented 1 year ago

i tried close bracketing that line now i am getting image

sadsilly commented 1 year ago

i reinstall SD now working so do not worry about it. i do not know what was wrong other one. :D

sadsilly commented 1 year ago

So..... i have bad news i broke it again Q_Q! image

sd hard crash one prompt an now i think it stuck in a state where it wont activate.

sadsilly commented 1 year ago

so... i found indirect work around to solve this problem. i just deleted the extension closed terminal restarted it then reinstall it an now it works ?___?

sadsilly commented 1 year ago

to give you update. turn out i was just writing them wrong it causing errors so you can delete this. sorry wasting everyone time D:!