Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytorch_lora_weights.bin does not seem to be in the correct format expected by LoRA or Custom Diffusion training #21

Open
wa-l-lll-l-ll opened this issue May 11, 2024 · 0 comments

Comments

@wa-l-lll-l-ll
Copy link

wa-l-lll-l-ll commented May 11, 2024

After completing training steps with "./train_dreambooth_oft.sh 0" command:

ValueError: log_oft/backpack-0/pytorch_lora_weights.bin does not seem to be in the correct format expected by LoRA or Custom Diffusion training.
[rank0]: Traceback (most recent call last):
[rank0]: File "path_to_env/oft/oft-db/train_dreambooth_oft.py", line 1088, in
[rank0]: main(args)
[rank0]: File "path_to_env/oft/oft-db/train_dreambooth_oft.py", line 1044, in main
[rank0]: pipeline.unet.load_attn_procs(args.output_dir)
[rank0]: File "path_to_env/lib/python3.9/site-packages/diffusers/loaders.py", line 332, in load_attn_procs
[rank0]: raise ValueError(
[rank0]: ValueError: log_oft/backpack-0/pytorch_lora_weights.bin does not seem to be in the correct format expected by LoRA or Custom Diffusion training.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant