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

Feedback for “Models” #22

Open
DieserBobby opened this issue May 4, 2024 · 4 comments
Open

Feedback for “Models” #22

DieserBobby opened this issue May 4, 2024 · 4 comments

Comments

@DieserBobby
Copy link

Hello,
I had bought the installer for IOPaint because I am not into this pip-installing-method.
Everything went fine so far, but I do not fully understand the way models are implemented.

Specially how to download and install erase models... I do not understand how to install ZITS for example.

I have successfully created a custom model folder, and in this folder I created 2 folders "stable_diffusion" and "stable_diffusion_xl".
I noticed, that putting an XL-model into the "stable_diffusion_xl" will make it appear in the menu in IOPaint - so far so good.

But this method does not work for Erase-Models,
because 1 : I would not know where exactly to put them
and 2: There is not the typical download button on Huggingface to download the .safetensors-file.

I have seen that there are 3 drop-downs about models in the config-UI...
I think I did not yet fully understand how these work together.
Recommended Models / Downloaded Models / Current Model.
I have difficulties in understanding the system how it works.

Could you help please? maybe some more detailed step by step documentation for non-coders?
I came to IOPaint through NerdyRodents YT-Video: IOPaint (Lama-Cleaner): A FREE & Simple Inpainting / Outpainting App!
But I couldn`t understand installation, so I bought the installer.
best regards and thanks for the cool application...
Bobby

@Sanster
Copy link
Owner

Sanster commented May 6, 2024

Thank you for supporting my open-source project. For all Erase-Models, there is no need for manual downloading. Once the model is configured, it will automatically download upon service startup.

image

custom model folder

I have successfully created a custom model folder, and in this folder I created 2 folders "stable_diffusion" and "stable_diffusion_xl".

The custom model folder is for use with the diffusion model files in single file format, such as the sd-v1-5-inpainting.ckpt file shown below, or the single file models downloaded from civitai. For model files in the diffusers format, there is no need for manual downloading. As shown in the figure below, as long as the model is configured as runwayml/stable-diffusion-inpainting, IOPaint will automatically download all the files upon startup.

截屏2024-05-06 09 27 54

Recommended Models / Downloaded Models / Current Model

When saving the configuration file, the model name in the Current Model will be saved in the configuration file, and this model will serve as the model upon service startup. "Recommended Models" or "Downloaded Models" dropdown menus are just for the convenience of switching the configuration of the Current Model.

  • Recommended Models displays some commonly used models, When users haven't downloaded any models yet, they can select models from here.
  • Downloaded Models will show all the Erase-Models, single-file diffusion models, and diffusers format diffusion models that have been downloaded.

@DieserBobby
Copy link
Author

DieserBobby commented May 6, 2024 via email

@DieserBobby
Copy link
Author

Hi,
I am still stuck with the same situation (described above)
I do not know how to choose ZITS for inpainting... it looks like I dont have it.
Hope to receive some additional information.

@Sanster
Copy link
Owner

Sanster commented May 14, 2024

Apologies for the late reply, if you wish to use the ZITS model, you can manually input zits in the "Current Model".

image

Other Erase Models are the same, for example https://www.iopaint.com/models/erase/fcf, you can manually input fcf in the Current Model.

截屏2024-05-14 12 12 20

The reason why the ZITS model does not appear in the Recommended Models is because I found that it seems to have little advantage compared to lama (lama is more versatile). Feel free to test it in your scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants