I encountered an issue while training Stable Diffusion 1.5 using the script examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py.
The problem occurs when trying to save the text_encoder while also using textual inversion.
The following line of code seems to be causing the issue:
Describe the bug
Hi,
I encountered an issue while training Stable Diffusion 1.5 using the script
examples/advanced_diffusion_training/train_dreambooth_lora_sd15_advanced.py
.The problem occurs when trying to save the text_encoder while also using textual inversion.
The following line of code seems to be causing the issue:
I discovered that removing {args.output_dir} from the path resolves the problem:
Are there any alternative solutions to this issue? Any insights would be appreciated.
Reproduction
Use the script train_dreambooth_lora_sd15_advanced.py Enable textual inversion Attempt to save the text_encoder
Logs
No response
System Info
Who can help?
No response