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

Unable to download or use any inpainting model #135

Open
legolaswang opened this issue Feb 21, 2024 · 4 comments
Open

Unable to download or use any inpainting model #135

legolaswang opened this issue Feb 21, 2024 · 4 comments

Comments

@legolaswang
Copy link

I'm able to download all segment model automatically without problem.
However, none of the inpainting model is working and it's not downloaded automatically probably due to network issue.
Here's what I did:

  1. I went to settings and disabled 'Run Inpainting on offline network' to ensure inpainting model should be able to download automatically.

  2. I double checked my network connection, and it seems fine.

  3. I'm using windows 10, I tried to find caches under C:\Users\username\.cache\huggingface\hub, however, there's no huggingface folder under .cache C:\Users\username\.cache.

I still keep getting following error:

"An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache."

And I tried to follow the instructions below, installed python on windows, but I'm not really sure how to do it.
image

Please help.

@Uminosachi
Copy link
Owner

In the 'Inpainting' tab, select the 'Inpainting Model ID' and click 'Run Inpainting'. If the model does not exist locally, the download will start automatically.

@legolaswang
Copy link
Author

@Uminosachi Thank you for replying.
WebUI attempted to download, however, I keep getting following error for ALL kind of model.
image

I checked the settings, and confirmed that 'Run Inpainting on offline network' is disabled().

image

@Uminosachi
Copy link
Owner

There is also a possibility that the Python package is broken. To reinstall the packages from scratch, delete the 'venv' folder under the stable-diffusion-webui folder and then launch webui.bat.

@Uminosachi
Copy link
Owner

Please try logging in to Hugging Face.

In the command line within the stable-diffusion-webui folder, run:

.\venv\Scripts\activate
huggingface-cli login
deactivate

For Linux:

source venv/bin/activate
huggingface-cli login
deactivate

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