[X] I have searched the existing issues and checked the recent builds/commits
What happened?
Tried to use the blip caption function for preprocessing images. Getting a permission denied error. Reinstalled Python 3.10.6. Reinstalled Automatic 1111. Tried Deepbooru caption and it works correctly.
Steps to reproduce the problem
Go to the train tab.
Click on the preprocess image sub tab.
Paste source directory.
Paste destination directory.
Select the "Use Blip for caption" checkbox.
Click the Preprocess button.
What should have happened?
It should have put photos and txt files in the destination folder. Nothing in folder after error.
Commit where the problem happens
bb0978ecfd3177d0bfd7cacd1ac8796d7eec2d79
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
New Install with no Arguments
Additional information, context and logs
load checkpoint from C:\AI\stable-diffusion-webui\models\BLIP\model_base_caption_capfilt_large.pth
Error completing request
Arguments: ('task(0artx6avnzyt6vz)', 'C:\Users\jason\Desktop\AI\Heather AI\Inputs\V2', 'C:\Users\jason\Desktop\AI\Heather AI\Inputs\V2\processed', 512, 512, 'ignore', False, False, True, False, 0.5, 0.2, False, 0.9, 0.15, 0.5, False) {}
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, *kwargs))
File "C:\AI\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(args, *kwargs)
File "C:\AI\stable-diffusion-webui\modules\textual_inversion\ui.py", line 19, in preprocess
modules.textual_inversion.preprocess.preprocess(args)
File "C:\AI\stable-diffusion-webui\modules\textual_inversion\preprocess.py", line 18, in preprocess
shared.interrogator.load()
File "C:\AI\stable-diffusion-webui\modules\interrogate.py", line 82, in load
self.clip_model, self.clip_preprocess = self.load_clip_model()
File "C:\AI\stable-diffusion-webui\modules\interrogate.py", line 66, in load_clip_model
model, preprocess = clip.load(clip_model_name, download_root=shared.cmd_opts.clip_models_path)
File "C:\AI\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 "C:\AI\stable-diffusion-webui\venv\lib\site-packages\clip\clip.py", line 54, in _download
if hashlib.sha256(open(download_target, "rb").read()).hexdigest() == expected_sha256:
PermissionError: [Errno 13] Permission denied
Is there an existing issue for this?
What happened?
Tried to use the blip caption function for preprocessing images. Getting a permission denied error. Reinstalled Python 3.10.6. Reinstalled Automatic 1111. Tried Deepbooru caption and it works correctly.
Steps to reproduce the problem
What should have happened?
It should have put photos and txt files in the destination folder. Nothing in folder after error.
Commit where the problem happens
bb0978ecfd3177d0bfd7cacd1ac8796d7eec2d79
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
load checkpoint from C:\AI\stable-diffusion-webui\models\BLIP\model_base_caption_capfilt_large.pth Error completing request Arguments: ('task(0artx6avnzyt6vz)', 'C:\Users\jason\Desktop\AI\Heather AI\Inputs\V2', 'C:\Users\jason\Desktop\AI\Heather AI\Inputs\V2\processed', 512, 512, 'ignore', False, False, True, False, 0.5, 0.2, False, 0.9, 0.15, 0.5, False) {} Traceback (most recent call last): File "C:\AI\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, *kwargs)) File "C:\AI\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(args, *kwargs) File "C:\AI\stable-diffusion-webui\modules\textual_inversion\ui.py", line 19, in preprocess modules.textual_inversion.preprocess.preprocess(args) File "C:\AI\stable-diffusion-webui\modules\textual_inversion\preprocess.py", line 18, in preprocess shared.interrogator.load() File "C:\AI\stable-diffusion-webui\modules\interrogate.py", line 82, in load self.clip_model, self.clip_preprocess = self.load_clip_model() File "C:\AI\stable-diffusion-webui\modules\interrogate.py", line 66, in load_clip_model model, preprocess = clip.load(clip_model_name, download_root=shared.cmd_opts.clip_models_path) File "C:\AI\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 "C:\AI\stable-diffusion-webui\venv\lib\site-packages\clip\clip.py", line 54, in _download if hashlib.sha256(open(download_target, "rb").read()).hexdigest() == expected_sha256: PermissionError: [Errno 13] Permission denied