StableDiffusionInpaintPipeline.from_single_file() #7163
Unanswered
danilodelucio
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Can you try installing pip install git+https://github.com/huggingface/diffusers |
Beta Was this translation helpful? Give feedback.
1 reply
-
hi! pipeline = StableDiffusionInpaintPipeline.from_single_file(
checkpoint,
torch_dtype=torch.float16,
num_in_channels=4).to("cuda") cc @stevhliu @DN6 here, do we need to add this to the doc somewhere? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, this is my first time creating a discussion here in Github. 🥹
I'm trying to generate an image using the inpainting pipeline, and I would like to use a local checkpoint but I'm getting the following error:
So I have 3 quick questions about this approach.
AutoPipelineForInpainting.from_pretrained()
, my image is generating fine, but I saw that the final resolution is not the same as the original (my original image is 1920x1080 and the output is being 512x512). When I use the img2img workflow, the resolution of the input image is passed in automatically. So, should I use the argumentswidth
andheight
or there is another method to pass the resolution automatically?Thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions