cloneofsimo / lora

Using Low-rank adaptation to quickly fine-tune diffusion models.
https://arxiv.org/abs/2106.09685
Apache License 2.0
6.94k stars 479 forks source link

fix "local variable 'unet_path' referenced before assignment" #175

Closed arceus-jia closed 1 year ago

arceus-jia commented 1 year ago

unet_path is not defined in some cases

cloneofsimo commented 1 year ago

Ah thanks, I guess this didn't come up earlier because everything is now default with safetensors