lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Bug]: Extras Caption fails

Open
#791 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Checklist
  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet
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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with modules/interrogate.py, especially interrogate, load, and load_clip_model, then reproduce the Extras flow with Caption and Deep or BLIP enabled. Check whether the model-download SSL error prevents caption data from reaching the send-image-and-generation-data action. Done means the generated caption is copied with the image and failures are reported clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.