Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two loras in one image #239

Open
kalle07 opened this issue Jan 4, 2024 · 1 comment
Open

two loras in one image #239

kalle07 opened this issue Jan 4, 2024 · 1 comment

Comments

@kalle07
Copy link

kalle07 commented Jan 4, 2024

hey

all in all i followed that video
https://www.youtube.com/watch?v=jh-TrplWVA0

all works fine with SD15 !
if i change the model to SDXL oc also the lora to SDXL-Loras i get that error
(in addition i must have resolution dev by 16)

*** Error running process_batch: D:\stable-diffusion\webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py
Traceback (most recent call last):
File "D:\stable-diffusion\webui\modules\scripts.py", line 742, in process_batch
script.process_batch(p, *script_args, **kwargs)
File "D:\stable-diffusion\webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 244, in process_batch
network, info = lora_compvis.create_network_and_apply_compvis(
File "D:\stable-diffusion\webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 153, in create_network_and_apply_compvis
network = LoRANetworkCompvis(text_encoder, unet, multiplier_tenc, multiplier_unet, modules_dim, modules_alpha)
File "D:\stable-diffusion\webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 341, in init
comp_vis_lora_name = LoRANetworkCompvis.convert_diffusers_name_to_compvis(self.v2, du_lora_name)
File "D:\stable-diffusion\webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 302, in convert_diffusers_name_to_compvis
assert cv_name is not None, f"conversion failed: {du_name}. the model may not be trained by sd-scripts."
AssertionError: conversion failed: lora_te1_text_model_encoder_layers_0_mlp_fc1. the model may not be trained by sd-scripts.

@rafstahelin
Copy link

i am getting the same. any idea what's causing this?

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

No branches or pull requests

2 participants