Train stopped at 0%
My goal is to train a lora model starting from a database. I used this link to help me with the phyton script:LoRASo I used the script at this link:diffusers/examples/text_to_image/train_text_to_image_lora.py at main · huggingface/diffusers · GitHubThere are two problems:the script gives an error if I set num of workers greater than 0instead if I set a num of workers=0, the script does not give errors but the training remains at 0% even if I change some parameters such as the epochI used the command line parameters like in the link, changing lambdalabs/pokemon-blip-captions with lambdalabs/naruto-blip-captions.What could be the error?
2024-05-21T08:11:29Z
image1087×159 5.61 KBThis is the error…
2024-05-21T14:32:10Z
I discovered that it remains at 0% because the script stops at line 744. I tried to make some prints afterwards and they don’t come out in the logger.This is the script:diffusers/examples/text_to_image/train_text_to_image_lora.py at e1df77ee1ec0400195ad8dcb2099d137b34c9b9f · huggingface/diffusers · GitHubIs there a problem initializing the vae variable?
2024-05-26T05:37:39Z
Is it possible that the system is running out of memory before it even starts? If you reduce the batch size to one does it run?