-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Taited/stable diffusion inpaint #1976
Taited/stable diffusion inpaint #1976
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1976 +/- ##
==========================================
- Coverage 80.87% 80.73% -0.15%
==========================================
Files 423 424 +1
Lines 28952 29109 +157
Branches 4461 4502 +41
==========================================
+ Hits 23416 23502 +86
- Misses 4579 4630 +51
- Partials 957 977 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Hi @Taited , |
@@ -0,0 +1,497 @@ | |||
# Copyright (c) OpenMMLab. All rights reserved. | |||
from typing import Dict, List, Optional, Union |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this implementation seems heavily referred to other repo's implementation. Please mention their copyright here.
configs/stable_diffusion/README.md
Outdated
@@ -83,6 +84,40 @@ image = StableDiffuser.infer(prompt)['samples'][0] | |||
image.save('robot.png') | |||
``` | |||
|
|||
To inpaint an image, you could run the following codes. | |||
|
|||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | |
```python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
support stable diffusion inpainting config and pipeline