New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Community pipeline img2img inpainting #1114
Community pipeline img2img inpainting #1114
Conversation
the base implementation claims to support `torch.Tensor` but seems it would also fail in this case.
The documentation is not available anymore as the PR was closed or merged. |
Hey @vvvm23 , Could you also add a section to the Examples README and a entry to the table: https://github.com/huggingface/diffusers/blob/main/examples/community/README.md#example-usages ? This would be very nice :-) |
Sure, I can do that tomorrow for you ~ I'll also try and fix the bug with tensor inputs, but that may come later. |
Done, I can't fix the other issues today though, doing this PR from the airport 😅 |
Super cool! |
Hi @vvvm23 , thanks for the custom pipeline! It was very useful for my application - just wondering if the example usage script is accurate though? In particular, this line:
seems like this just calls the regular inpaint pipeline and disregard the inner image argument? I tried using the example but it seems that the entire mask gets inpainted and the inner image isn't pasted. I would imagine it should be something more like (haven't tested yet):
|
Good catch, just goes to show you shouldn't write PRs in an airport 😅 I'll change that tomorrow + adds some example results. Likely in a separate PR that I will link to this one. |
This reverts commit cb17d01.
Resolves #905
However, it would see the base implementation doesn't actually support Tensor input (only PIL image).