Sanster / IOPaint

Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
https://www.iopaint.com/
Apache License 2.0
17.35k stars 1.75k forks source link

How to run more than one model #510

Closed OmarAboRabea1 closed 1 week ago

OmarAboRabea1 commented 4 weeks ago

how can I run more than one model from the same command: for running the app I use this:

docker run -it -p 8080:8080 --entrypoint /bin/bash dockerID -c "pip install --no-cache-dir -r requirements.txt && apt-get update && apt-get install -y libglib2.0-0 && apt-get install -y libgl1 && python3 main.py start --host 0.0.0.0 --model fcf"

I want to also run the lama model. How can I do this? I tried this but it didn't work: "python3 main.py start --host 0.0.0.0 --model fcf --model lama"

lovegnep commented 1 week ago

also want to know

Sanster commented 1 week ago

Sorry, loading multiple models at the same time is not supported. If you are looking to compare the effects of different models, it is recommended to prepare the images and corresponding masks, and then use the iopaint run command to batch process different models.