haofanwang / Lora-for-Diffusers

The most easy-to-understand tutorial for using LoRA (Low-Rank Adaptation) within diffusers framework for AI Generation Researchers🔥
MIT License
739 stars 46 forks source link

to_out to to_out_0 #4

Closed camenduru closed 1 year ago

camenduru commented 1 year ago

Hi @haofanwang thanks for the repo ❤

maybe this part should be like this

convert_name_to_safetensors

correct

lora_unet_down_blocks_0_attentions_0_transformer_blocks_0_attn1_to_out_0.lora_down.weight   
lora_unet_down_blocks_0_attentions_0_transformer_blocks_0_attn1_to_out_0.lora_up.weight

wrong

lora_unet_down_blocks_0_attentions_0_transformer_blocks_0_attn1_to_out.lora_down.weight
lora_unet_down_blocks_0_attentions_0_transformer_blocks_0_attn1_to_out.lora_up.weight
haofanwang commented 1 year ago

Thanks, I will take a look.