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
761 stars 50 forks source link

Error #23

Open kroryan opened 1 year ago

kroryan commented 1 year ago

So im running this:

python3 /root/diffusers/scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path /sdcard/Insertion.safetensors --dump_path /root/Insert --from_safetensors

And getting this:

Traceback (most recent call last): File "/root/diffusers/./scripts/convert_original_stable_diffusion_to_diffusers.py", line 154, in pipe = download_from_original_stable_diffusion_ckpt( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path_or_dict'

Any idea why?

i just one to be able to load a lora while using SD on termux Proot