Open JJassonn69 opened 2 months ago
Not sure if this is a requirement for good outpainting results, but just wanted to drop this image from Reddit here for the person that will be working on this bounty. Apparently generating a mosaic over the area to be repainted helps?
Not sure if this is a requirement for good outpainting results, but just wanted to drop this image from Reddit here for the person that will be working on this bounty. Apparently generating a mosaic over the area to be repainted helps?
@stronk-dev damn that image is great! I added it as an example workflow to the bounty description. Thanks for jumping in ππ»β€οΈ.
will work on it after finishing the stable-audio pipeline work if someone took on in between no problem will require a time period of a week to finish the previous bounty
@JJassonn69 can you assign it to me?
Hi @aybanda, thanks for your patience! We've been wrapped up with the public launch at Token2049. Itβs fantastic to have you contributing to our open-source project π. Iβve assigned you to the bounty now. Don't hesitate to reach out if you have any questions!
@rickstaa will do my best in delivering this π Thank you
Hi @aybanda, how's the progress on your bounty implementation? Is there anything we can do to assist?
Also, I came across some exciting newsβ the Transformers library will add support for a new model called ProPainter, which excels at both inpainting and outpainting. You can check it out here: ProPainter on GitHub.
Let me know if this might be helpful for your work!
Hey @rickstaa Thanks for checking in. I'm making good progress on the bounty implementation, will give you an update very shortly.
Hey @rickstaa
I'm almost ready with the code for the image_outpainting pipeline using the ProPainter model. Here's a summary of my current implementation:
I'm using the "ruffy369/propainter" model from Hugging Face. and handling image resizing and mask creation for outpainting.
I have a few questions:
We're currently using AutoPipelineForInpainting
for both inpainting and outpainting tasks, manipulating the input image and mask to achieve outpainting. Is this the most effective approach with ProPainter, or do you recommend any adjustments to better handle outpainting specifically?
Do you have any additional recommendations or best practices for integrating ProPainter into our pipeline, especially for outpainting tasks?
Any insights or suggestions would be greatly appreciated as I prepare to push this implementation. Thank you!
Overview
We are excited to announce the expansion of our AI Network with the introduction of Outpainting pipeline. This feature will enable advanced image expansion and modification techniques, improving the versatility of our AI network. π₯
We are reaching out to the community to contribute to the implementation of this this essential pipeline within the AI-worker side of the
AI-Network
. Your contribution will be an invaluable addition to our image editing capabilites, pushing Livepeer AI Network at the forefront of AI-media generation. πRequired Skillset
Bounty Requirements
/out-paint
route and pipeline within the AI-worker repository. This new pipeline should be accessible through Docker on port8700
.negative_prompt
,controlnet_conditioning_scale
,num_inference_steps
, andguidance_scale
to be adjustable according to the outpainting model utilized.Example workflow
Originally posted by @stronk-dev in https://github.com/livepeer/bounties/issues/56#issuecomment-2328226172
Scope Exclusions
Implementation Tips
To learn how to create a new pipeline, refer to the Hugging Face pipeline documentation. You can also explore the following pull requests to see how other pipelines were implemented:
In some cases, you may not be able to integrate the new pipeline directly into the regular AI Runner Docker container due to dependency conflicts or missing packages. If this occurs, you can follow the approach outlined in this example to create a custom container for the pipeline. This approach uses the regular AI runner as the base while keeping the base container lean.
Additionally, keep the following best practices in mind:
runner/gen_openapi.py
script to generate an updated OpenAPI specification.make
command to generate the necessary bindings, ensuring compatibility with the go-livepeer repository.How to Apply
#developer-lounge
channel on our Discord server.We appreciate your interest in contributing to our project! π