camenduru / sd-civitai-browser

An extension to help download models from CivitAi without leaving WebUI
110 stars 66 forks source link

help?? use it lora error #9

Closed fromymrm closed 1 year ago

fromymrm commented 1 year ago

error, when i use lora after downloading it he give this error

extensions/sd-webui-additional-networks/models/lora/CZ2128_Shizu_Delta_Overlord/cz2128ShizuDelta_v10.safetensors successfully downloaded. LoRA weight: 1, model: cz2128ShizuDelta_v10(c5aa8aa0) Error running process: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py Traceback (most recent call last): File "/content/stable-diffusion-webui/modules/scripts.py", line 338, in process script.process(p, *script_args) File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 177, in process network, info = lora_compvis.create_network_and_apply_compvis(du_state_dict, weight, text_encoder, unet) File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/lora_compvis.py", line 73, in create_network_and_apply_compvis network_dim = min([s for s in size if s > 1]) ValueError: min() arg is an empty sequence

Same problem happened to me with many (lora)

camenduru commented 1 year ago

Hi @fromymrm 👋 please try v2.1

find this line !git clone -b v2.0 https://github.com/camenduru/stable-diffusion-webui

change to this !git clone -b v2.1 https://github.com/camenduru/stable-diffusion-webui

and please tell me if it worked

fromymrm commented 1 year ago

hi @camenduru

All versions here are 1.6 should I change them all to to 2.1

Capture

fromymrm commented 1 year ago

I tried to change it like you told me in anything_3_webui_colab.ipynb

1

but he give me this error

2

and i change same line on stable_diffusion_v2_1_webui_colab.ipynb

give me and give Another error :(

3

camenduru commented 1 year ago

True, sorry. I think we solved it. Can you please give me the LoRA link?

fromymrm commented 1 year ago

No problem, my friend, that you are doing a good job, and you have all thanks and appreciation for your efforts. The program works in an excellent way

this link of one of them https://civitai.com/models/10229/march-7th-or-honkai-star-rail

I have some notes First, checkpoint It works well, but Hypernetwork is having a problem with it. I don't know how to run it after downloading it. There is no place for me to run it like lora

secondly, if this https://www.youtube.com/@camenduru/featured is your channel on YouTube, it is very good and useful, keep downloading the videos, and the community will definitely support you

Thank you for your quick reply and your excellent work and you have all my appreciation.

camenduru commented 1 year ago

Lora looks like working image (2) image (3)

and for hypernetwork please use this button

Screenshot_2023-02-20_202159

yep my channel thanks ❤

fromymrm commented 1 year ago

wow nice work but what stable diffusion webui colab i i should use

fromymrm commented 1 year ago

I tried now and same error :(

1 2 3

fromymrm commented 1 year ago

i don't have the same option in stable diffusion webui

4

camenduru commented 1 year ago

please try this https://github.com/camenduru/stable-diffusion-webui-colab/tree/v2.0

fromymrm commented 1 year ago

Yes, yes, it worked for me now Thank you very much for helping me. I wish you more success <3