Linaqruf / kohya-trainer

Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning
Apache License 2.0
1.84k stars 302 forks source link

Error when loading Lora #230

Open Clawdis99h opened 1 year ago

Clawdis99h commented 1 year ago

I trained Lora from Linaqruf/kohya-trainer/blob/main/kohya-dreambooth But after that, when I using this Lora. Error : Failed to match keys when loading Lora.....["cond_stage_model.transformer.text_model.embeddings.position_embedding.weight', 'cond_stage_model.transformer.text_model.embeddings.position_ids', 'cond_stage_model.transformer.text_model.embeddings.token_embedding.weight',.......... Anyone has any solution,please help me.

Linaqruf commented 1 year ago

it's not lora, you train dreambooth checkpoint

Clawdis99h commented 1 year ago

Can I extract my dreambooth checkpoint to Lora ?...or if i need to re-train again, can you give me the true link for lora train, because because they are so similar