hako-mikan/sd-webui-lora-block-weight

Does not work with SD.Next

MysticDaedra opened this issue · 1 comments

SD.Next has obviously diverged tremendously from A1111, but it would be great if compatibility could be maintained with SD.Next. Currently throws the "cannot convert string to float" error, due to the built-in Extra Networks function. This cannot be disabled, it's built-in rather than installed as an extension. If a workaround/fix could be had, I and likely many others would be very grateful :)

00:51:34-505209 ERROR    activating extra network: name=lora args:[<modules.extra_networks.ExtraNetworkParams object at
                         0x00000194DE374DD0>]: ValueError
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ D:\automatic\modules\extra_networks.py:91 in activate                                                                │
│                                                                                                                      │
│    90 │   │   try:                                                                                                   │
│ ❱  91 │   │   │   extra_network.activate(p, extra_network_args, step=step)                                           │
│    92 │   │   except Exception as e:                                                                                 │
│                                                                                                                      │
│ D:\automatic\extensions-builtin\Lora\extra_networks_lora.py:81 in activate                                           │
│                                                                                                                      │
│    80 │   │   │   │   else:                                                                                          │
│ ❱  81 │   │   │   │   │   unet_multiplier[i] = float(unet_multiplier[i])                                             │
│    82 │   │   │   dyn_dim = int(params.positional[3]) if len(params.positional) > 3 else None                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: could not convert string to float: 'XYZ'