Zeju1997 / oft

Official implementation of "Controlling Text-to-Image Diffusion by Orthogonal Finetuning".
https://oft.wyliu.com/
MIT License
280 stars 14 forks source link

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 5 months ago

wa-l-lll-l-ll commented 5 months ago

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: File "path_to_env/oft/oft-db/train_dreambooth_oft.py", line 1044, in main

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.