Skip to content
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

How to use lama and powerpaint together? #535

Closed
jryebread opened this issue Jun 3, 2024 · 4 comments
Closed

How to use lama and powerpaint together? #535

jryebread opened this issue Jun 3, 2024 · 4 comments
Labels

Comments

@jryebread
Copy link

jryebread commented Jun 3, 2024

Model
lama and powerpaint-v1

Describe the bug
When I use both lama and powerpaint v1 inpainting, I don't see an option to use just lama in the UI, only powerpaint version of object removal, which is much slower and worse. How can I use lama when powerpaint is enabled? i think this is a bug.

System Info
Software version used

  • iopaint: latest
  • pytorch: 12.1
  • CUDA:12.1

command to run it:
iopaint start --model=lama --device=cuda --model=Sanster/PowerPaint-V1-stable-diffusion-inpainting --device=cuda --host=0.0.0.0 --enable-realesrgan --realesrgan-model="RealESRGAN_x4plus" --realesrgan-device=cuda --enable-remove-bg --enable-interactive-seg --interactive-seg-model=vit_l --interactive-seg-device=cuda --disable-nsfw-checker

@jryebread jryebread changed the title How to use How to use lama and powerpaint together? Jun 3, 2024
@Sanster
Copy link
Owner

Sanster commented Jun 3, 2024

Multiple models are not supported. --model=Sanster/PowerPaint-V1-stable-diffusion-inpainting is placed after --model=lama, so PowerPaint-V1-stable-diffusion-inpainting is used when the service starts. You can switch models in the settings on the web page.

@jryebread
Copy link
Author

@Sanster appreciate your response and creating this cool project!

May i ask which inpainting model you have tried is best for real images? ive been testing them all but found none have worked well for my real image use case (trying to insert new people into existing images)

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 10, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants