You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
torch.manual_seed(0)
image = pipe(prompt, num_inference_steps=30, guidance_scale=7).images[0]
image.save("../contents/lora_with_clip.jpg")
image # Clearly overfitting.
but cannot find the function definition or the declaration .
The text was updated successfully, but these errors were encountered:
as mentioned in this jupyter notebook file https://github.com/cloneofsimo/lora/blob/master/scripts/merge_lora_with_lora.ipynb .
rom lora_diffusion import monkeypatch_lora, tune_lora_scale, monkeypatch_add_lora
monkeypatch_lora(pipe.unet, torch.load("../lora_kiriko.pt"))
monkeypatch_lora(pipe.text_encoder, torch.load("../lora_kiriko.text_encoder.pt"), target_replace_module=["CLIPAttention"])
tune_lora_scale(pipe.unet, 1.00)
torch.manual_seed(0)
image = pipe(prompt, num_inference_steps=30, guidance_scale=7).images[0]
image.save("../contents/lora_with_clip.jpg")
image # Clearly overfitting.
but cannot find the function definition or the declaration .
The text was updated successfully, but these errors were encountered: