stable-diffusion-webui
stable-diffusion-webui copied to clipboard
BLIP model not stored on "Add caption"
Describe the bug The BLIP model is downloaded but not stored everytime "Add caption" is used in Text Inversion.
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth
Downloading it manually and storing in \repositories\BLIP\models removes the error from happening.
To Reproduce Steps to reproduce the behavior:
- Go to Text Inversion tab
- Click on 'add caption'
- Run on images
- See error
Expected behavior Model should be downloaded once and stored rather than re-downloading it everytime.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Firefox
- Commit revision: #b32852ef037251eb3d846af76e2965594e1ac7a5
It's still trying to download it, even after I've added it to my webui\repositories\BLIP\models ----But I have my PC connected to internet, maybe if I went offline it would use the one stored there
UPD: yes, it only works normally if I put my PC offline, otherwise it's going to download this model regardless whether it's already inside webui\repositories\BLIP\models
OS: Windows 10 Browser: Firefox Commit revision: c57919ea2a8e4a23a05d21f28928e08bbf34c59e
This issue shoudn't have been closed. Model is still downloaded each ntime
Is this solved??
At least on my Mac it don't seem solved
ubuntu same bug
this bug closed? but i had the same bug now
i gave up :(
I think I found a solution to this problem:
- When the system starts downloading again, wait patiently for the file to be downloaded;
- When exiting the system, don't clean up Huggingface's cache directory (or maybe phthon's cache directory). I found that if the cache directory is cleared, the download will start even if the file is already sitting in the BLIP directory。