lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
5.28k stars 519 forks source link

[Bug]: Extras Caption fails #791

Open kalle07 opened 3 weeks ago

kalle07 commented 3 weeks ago

Checklist

What happened?

caption dont work 2 models were downloaded the third download (890MB) is blocked by my simplest and essensial 500 url list usualy i block 2Mio but ok, i downloaded it so no errors

Steps to reproduce the problem

tab extras

check [x] Caption check one or both options deep or blip now the txt file is there WebUI_Forge\webui\output\extras-images

but if i press "send image and generation data to ... " only the picture is send not the generation data

what is the "Alex Grey"

What should have happened?

generated text should be copied too (no error message is shown)

What browsers do you use to access the UI ?

No response

Sysinfo

win10

Console logs

---
*** Error interrogating
    Traceback (most recent call last):
      File "urllib\request.py", line 1348, in do_open
      File "http\client.py", line 1282, in request
      File "http\client.py", line 1328, in _send_request
      File "http\client.py", line 1277, in endheaders
      File "http\client.py", line 1037, in _send_output
      File "http\client.py", line 975, in send
      File "http\client.py", line 1454, in connect
      File "ssl.py", line 513, in wrap_socket
      File "ssl.py", line 1071, in _create
      File "ssl.py", line 1342, in do_handshake
    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "E:\WebUI_Forge\webui\modules\interrogate.py", line 189, in interrogate
        self.load()
      File "E:\WebUI_Forge\webui\modules\interrogate.py", line 136, in load
        self.clip_model, self.clip_preprocess = self.load_clip_model()
      File "E:\WebUI_Forge\webui\modules\interrogate.py", line 124, in load_clip_model
        model, preprocess = clip.load(clip_model_name, device="cpu", download_root=shared.cmd_opts.clip_models_path)
      File "e:\WebUI_Forge\system\python\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:\WebUI_Forge\system\python\lib\site-packages\clip\clip.py", line 59, in _download
        with urllib.request.urlopen(url) as source, open(download_target, "wb") as output:
      File "urllib\request.py", line 216, in urlopen
      File "urllib\request.py", line 519, in open
      File "urllib\request.py", line 536, in _open
      File "urllib\request.py", line 496, in _call_chain
      File "urllib\request.py", line 1391, in https_open
      File "urllib\request.py", line 1351, in do_open
    urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

---

Additional information

No response