lora icon indicating copy to clipboard operation
lora copied to clipboard

Error While converting the lora weights to ckpt file

Open satwiksunnam19 opened this issue 1 year ago • 1 comments

Hey @behinger @cobanov @cloneofsimo

directly placing .pt file in the embeddings folder, I got this error "there are no embeddings in the provided .pt file" When I tried to use this repo for training a dreambooth with LORA, the weights have saved in the.safetensors format and when i tried the method which is described in readme file "$ lora_add runwayml/stable-diffusion-v1-5 path_to_my_safetensors ./output_merged.ckpt 0.7 --mode upl-ckpt-v2" it threw an error "RuntimeError: stack expects a non-empty TensorList" when i tried the "$ lora_add runwayml/stable-diffusion-v1-5 path_to_my.pt file ./output_merged.ckpt 0.7 --mode upl-ckpt-v2"it threw an error of "AttributeError: 'NoneType' object has no attribute 'keys'". Hope you'll provide a guide on how to solve this problem, @cloneofsimo ASAP. Thanks & Regards, Satwik Sunnam.

image image

satwiksunnam19 avatar Feb 28 '23 11:02 satwiksunnam19

i have the same questions..

zengqixun12 avatar Mar 07 '23 07:03 zengqixun12