-
Notifications
You must be signed in to change notification settings - Fork 25.8k
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
[Feature Request]: Can we get native Pix2Pix model support? #7010
Comments
Yes, please! |
@AUTOMATIC1111 have you seen this yet? |
Considering how many open issues this repository has, I could imagine AUTOMATIC1111 is a little overwhelmed. |
For anyone interested, a user posted on reddit that he was working on a fork of Automatic1111 with this feature. I tried it out and it seems to work. On a related note, it looks like you can use the weighted difference trick to convert other models into InstructPix2Pix models in much the same way you can convert any model into an inpainting model. So that means you can use this technique with other models like AnythingV3 or whatever. You just have to make this little hacky change to extras.py so that line 185-194 becomes:
` When you merge, the resulting model it saves should be the InstructPix2Pix version of whatever you chose for B. You can then use that in the fork I linked above. |
Now this is really cool! Thank you very much for that. I'll give it a shot. |
#7195 has the hijack necessary to load the pix2pix model, if approved by auto I can publish an extension version of my changes If it's not approved for whatever reason with no compromise then I will edit the extension to side load the model instead and publish |
Looks like it was approved! |
@Unstackd can you submit a PR for your |
@Unstackd I can confirm that the merging method you outlined works to turn other models into instruct-pix2pix models! |
Would be amazing to have as native option for conversion |
I merged Pix2Pix with OrangeMix2. 1:Original / 2:Pix2Pix+OrangeMix2 / 3: Normal Img2Img of 2 |
Just submitted it! I'm still new to github PRs so here's hoping I did it right. |
@Klace do you foresee your extension being integrated into the main project by default? In particular, I'd be interested in using it through the API, but I don't know if that works with extensions. |
Yes, I'm working on doing a clean integration with img2img but won't do a
PR until it's perfect. In the meantime I'll continue fixing the extension
too.
…On Sat, Jan 28, 2023, 2:25 PM Keavon Chambers ***@***.***> wrote:
@Klace <https://github.com/Klace> do you foresee your extension being
integrated into the main project by default? In particular, I'd be
interested in using it through the API, but I don't know if that works with
extensions.
—
Reply to this email directly, view it on GitHub
<#7010 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGO6IZIVDZXOLTICIUCDALWUVXCVANCNFSM6AAAAAAUCPNO4M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Fantastic to hear that, thank you! |
Really awesome! That includes sending images from and to img2img respectively inpainting, right? |
Yep! The extension should have sends but can't receive at the moment.
…On Sat, Jan 28, 2023, 2:52 PM Hendrik Wiese ***@***.***> wrote:
Really awesome! That includes sending images from and to img2img
respectively inpainting, right?
—
Reply to this email directly, view it on GitHub
<#7010 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGO6IYG27FS6XBWT3TDWHTWUV2HVANCNFSM6AAAAAAUCPNO4M>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Really cool! Looking forward to get my hands on it! |
i get an error using batch input images on pix2pix.. anyone else?
|
afaik batch is not supported yet |
Playgroundai released a new 'InstructPix2Pix' like feature, with good mask support. I have tried directly get the masked area from the output of InstructPix2Pix model result, but it's not good. Curious how they do it. playgroundai_pix2pix.mp4The video is from https://twitter.com/Suhail/status/1620183881273196544 Other guys thoughts, snapshots from twitter reply: |
Is there an existing issue for this?
What would your feature do ?
Trained on 1.5 (allows GPT3) natural language requests. VERY cool!
https://github.com/timothybrooks/instruct-pix2pix
https://huggingface.co/timbrooks/instruct-pix2pix
Proposed workflow
Obvious.
Additional information
No response
The text was updated successfully, but these errors were encountered: