Skip to content

[Bug]: LoRA don't apply on dropdown list sd_lora #10880

@Katehuuh

Description

@Katehuuh

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

LoRA is not used when from dropdown list sd_lora

Steps to reproduce the problem

  1. Go to Settings > User interface > Quicksettings list > sd_lora and apply
  2. Generate a image using a LoRA from that list

What should have happened?

use LoRA

Commit where the problem happens

20ae71f

What Python version are you running on ?

None

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

What browsers do you use to access the UI ?

No response

Command Line Arguments

none

List of extensions

none

Console logs

activating extra network lora: AttributeError
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\extra_networks.py", line 99, in activate
    extra_network.activate(p, [])
  File "C:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 14, in activate
    params_list.append(extra_networks.ExtraNetworkParams(items=[additional, shared.opts.extra_networks_default_multiplier]))
  File "C:\stable-diffusion-webui\modules\extra_networks.py", line 29, in init
    parts = item.split('=', 2)
AttributeError: 'int' object has no attribute 'split'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of a confirmed bugbug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions