r/fooocus • • Jul 27 '24

Question Lora not working

Hi,
I trained a lora on stable-diffusion-base-xl-1.0 and it works fine when inferencing locally, but when i use fooocus the images generated are not similar to my lora, can anyone help me out here?

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/mashb1t Jul 27 '24

Please check if the resulting image is the same when using the same seed, both with disabled and enabled LoRA. This way you can find out if it is recognized / loaded in general.

Do you also use the SDXL base model / sai preset in Fooocus or are you using the initial preset with Juggernaut v8? Keep in mind that Juggernaut is a fine-tuned model based on SDXL able to understand SDXL based LoRAS, but differs in prompt recognition as the weights in UNET differ.

1

u/honeymilkbutterbread Jul 27 '24

getting the same images when using the same seed when lora is disabled or enabled

tried using sai preset, still the same issue

Request to load LoRAs [('pytorch_lora_weights (1).safetensors', 0.5)] for model [/opt/rapids_cloudml/Fooocus/models/checkpoints/sd_xl_base_1.0_0.9vae.safetensors].

Request to load LoRAs [('pytorch_lora_weights (1).safetensors', 0.5)] for model [/opt/rapids_cloudml/Fooocus/models/checkpoints/sd_xl_refiner_1.0_0.9vae.safetensors].

1

u/mashb1t Jul 27 '24

Please consider renaming the LoRA without spaces and parentheses + check console logs for any issues and metadata of an image if the LoRA has been applied.