Comments (3)
Managed to get it to work, by manually downloading the required big files and renaming them to their hash and placing them in the blobs folder.
example:
Retrieve the model repo name from the sd.webui prompt and look it up an hugginfaces.
For example the "Uminosachi/dreamshaper_6Inpainting" model:
https://huggingface.co/Uminosachi/dreamshaper_6Inpainting
Go to files and versions
Find the file that failed to download based uppon its file size.
Download it manually: https://huggingface.co/Uminosachi/dreamshaper_6Inpainting/tree/main/unet
Use powershell with "get-filehash" to get the file hash.
Copy the hash:
E573F86C5C31BFFE337A29E40B48C03AE10149F5C2995C61439A03D7C8477CBE
Convert it to lower case (https://convertcase.net/):
e573f86c5c31bffe337a29e40b48c03ae10149f5c2995c61439a03d7c8477cbe
Rename the file to the hash (note also remove file extension name)
Place it is the blobs folder:
C:\Users\admin\.cache\huggingface\hub\models--Uminosachi--dreamshaper_6Inpainting\blobs
from sd-webui-inpaint-anything.
For any models you download in the Inpainting tab, we utilize the caching system provided by Hugging Face Hub. Should you wish to change the download location, you can adjust an environment variable.
For more information on managing cache, you may refer to the Hugging Face Hub guide.
The <CACHE_DIR> is usually your user’s home directory. However, it is customizable with the cache_dir argument on all methods, or by specifying either HF_HOME or HUGGINGFACE_HUB_CACHE environment variable.
from sd-webui-inpaint-anything.
Thank you for the quick response, I had a look at the link you provided but this does not solve my problem however it explains the download location and folder structure.
It is not clear to me if it is possible to download the "Inpainting Models" manually and were I should put these files.
Is it possible to run the download command with an increased timeout?
For example I would like to download the "Uminosachi/dreamshaper_6Inpainting" manually.
These files are downloaded from: https://huggingface.co/Uminosachi/dreamshaper_6Inpainting/tree/main
Which is failing because of my 2GB download limit (timeout):
The best solution for me would be to increase the download timeout so I can restore the connection and resume the download.
(It takes me about 20 sec to apply for an additional 2GB at my mobile provider.)
A workaround that may work for me is to download the big files that are failing to download manually, rename them to their hash and put them in the "models--Uminosachi--dreamshaper_6Inpainting\blobs" folder.
I think this might work so I will be trying this next.
from sd-webui-inpaint-anything.
Related Issues (20)
- Move mask to img2img HOT 1
- [Feature request] Run segment in smaller portions of the image HOT 2
- [Feature request] loop back button, send result image to the input box HOT 4
- AUTOMATIC1111 Colab Extension Error Pytorch HOT 2
- 老是报错
- AMD gpu users can't run inpaint anything HOT 9
- ControlNet extension is not available. Requires the sd-webui-controlnet extension. HOT 1
- Unable to download or use any inpainting model HOT 4
- masked object turn into black. HOT 2
- [Feature request] Custom CN path HOT 1
- Apple M2 uses model "sam_vit_l_0b3195.pth" error HOT 1
- SDXL VAE is not compatible with inpainting model HOT 2
- Inpaint Anything - ERROR - The size of tensor a (0) must match the size of tensor b (256) at non-singleton dimension 1 HOT 1
- ModuleNotFoundError: No module named 'lama_cleaner' HOT 1
- Inpaint Anything not compatible with v1.8 HOT 7
- Connection error HOT 3
- Inpaint Anything Installed but not in the navigation Bar HOT 4
- how to use Padding options
- Can't use Lora when inpatienting
- AttributeError: module 'jax.random' has no attribute 'KeyArray'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-webui-inpaint-anything.