Image distortion when loading plus lora

#24
by aguang - opened

Thanks for sharing how to load face id's lora file, I was using the same method to load ip-adapter-faceid-plus_sd15_lora and the images generated were terrible. The code to load is as follows:
ip_ckpt = "ip-adapter-faceid-plus_sd15.bin"
lora_ckpt = "ip-adapter-faceid-plus_sd15_lora.safetensors"
...
pipe.load_lora_weights(lora_ckpt)
pipe.fuse_lora()
ip_model = IPAdapterFaceIDPlus(pipe, image_encoder_path, ip_ckpt, device)

Is there any problem with the above code please? Or the same method doesn't work with the plus lora?

Sign up or log in to comment