Open kadattack opened 1 year ago
I have the same problem still as well as of January 14, 2023.
Same issue 2/3/2023. Downloaded file 855mb, checksum fails loading checkpoint for 890mb file after 30 minutes or longer. Deleting and redownloading model results in same error.
"Downloading: "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth" to E:\stable-diffusion\stable-diffusion-webui\models\BLIP\model_base_caption_capfilt_large.pth
100%|███████████████████████████████████████████████████████████████████████████████| 855M/855M [00:16<00:00, 54.8MB/s] load checkpoint from E:\stable-diffusion\stable-diffusion-webui\models\BLIP\model_base_caption_capfilt_large.pth 90%|██████████████████████████████████▏ | 799M/890M [1:02:50<07:05, 222kiB/s] Error completing request Arguments: ('task(qp6n3drbp87rr94)', 'E:\TrainingSamples', 'E:\TrainingSamples\Processed', 512, 512, 'ignore', False, False, True, False, 0.5, 0.2, False, 0.9, 0.15, 0.5, False, False, 384, 768, 4096, 409600, 'Maximize area', 0.1) {} Traceback (most recent call last): File "E:\stable-diffusion\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, *kwargs)) File "E:\stable-diffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(args, *kwargs) File "E:\stable-diffusion\stable-diffusion-webui\modules\textual_inversion\ui.py", line 19, in preprocess modules.textual_inversion.preprocess.preprocess(args) File "E:\stable-diffusion\stable-diffusion-webui\modules\textual_inversion\preprocess.py", line 17, in preprocess shared.interrogator.load() File "E:\stable-diffusion\stable-diffusion-webui\modules\interrogate.py", line 130, in load self.clip_model, self.clip_preprocess = self.load_clip_model() File "E:\stable-diffusion\stable-diffusion-webui\modules\interrogate.py", line 114, in load_clip_model model, preprocess = clip.load(clip_model_name, download_root=shared.cmd_opts.clip_models_path) File "E:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\clip\clip.py", line 120, in load model_path = _download(_MODELS[name], download_root or os.path.expanduser("~/.cache/clip")) File "E:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\clip\clip.py", line 70, in _download raise RuntimeError("Model has been downloaded but the SHA256 checksum does not not match") RuntimeError: Model has been downloaded but the SHA256 checksum does not not match"
It's indeed a chechsum mismatch, but the problem file is not model_base_caption_capfilt_large.pth
, but ViT-L-14.pt
, located in C:\Users\yourusername\.cache\clip
. As you can see you didn't download completely (799M/890M). The solution is to download manually. You can find the download URL at E:\stable-diffusion\stable-diffusion-webui\venv\lib\site-packages\clip\clip.py
, by searching "ViT-L-14.pt". The "b8cca3fd41ae0c99ba7e8951adf17d267cdb84cd88be6f7c2e0eca1737a03836" in the URL is the expected SHA256. Finally, replace the existing wrong file.
That's not really a solution, but a workaround. Ideally, the ui would wait for the whole file to download. I'm running into the same problem on ubuntu, and I suspect it's because of my slow internet connection.
I'm on ubuntu, where's the directory for me to put the file?
Is there an existing issue for this?
What happened?
When I tried going for the first time under Train > Preprocess images, selected
Use BLIP for caption
and then pressingPreprocess
it attempted to download the 890Mb model fromhttps://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_caption_capfilt_large.pth
and after finishing the download it throws an errorSteps to reproduce the problem
What should have happened?
Presumably it should generate tokens for the images.
Commit where the problem happens
828438b4a190759807f9054932cae3a8b880ddf1
What platforms do you use to access UI ?
Linux
What browsers do you use to access the UI ?
Brave
Command Line Arguments
Additional information, context and logs
No response