How to inference a specific checkpoint from a model repo that consists of multiple checkpoints? #7020
Unanswered
wilfrediscoming
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You should use URL = "https://huggingface.co/SG161222/Realistic_Vision_V5.1_noVAE/blob/main/Realistic_Vision_V5.1-inpainting.safetensors"
inpaint = StableDiffusionControlNetInpaintPipeline.from_single_file(
URL,
controlnet = controlnet,
variant = "fp16",
use_safetensors = True,
vae = vae,
torch_dtype = torch.float16,
load_safety_checker = False
).to("cuda") |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use this model repo: https://huggingface.co/SG161222/Realistic_Vision_V5.1_noVAE/tree/main
and specifically the inpainting model "Realistic_Vision_V5.1-inpainting.safetensors"
how should I update my code?
Beta Was this translation helpful? Give feedback.
All reactions