[Bug]: "interrogate deepbooru" no longer works.
nagaisa opened this issue · 5 comments
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
hitting interrogate deepbooru just stays at 'loading'
Steps to reproduce the problem
- Go to img2img
- Press interrogate deepbooru
- ...
What should have happened?
after pressing should only take a few sec until it loads in what it detected
Commit where the problem happens
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
--listen --hypernetwork-dir modules/hypernetworks --xformers --opt-split-attention --precision full --medvram --no-half --deepdanbooru
Additional information, context and logs
Traceback (most recent call last): File "", line 1, in File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 125, in _main prepare(preparation_data) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 236, in prepare _fixup_main_from_path(data['init_main_from_path']) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\multiprocessing\spawn.py", line 287, in _fixup_main_from_path main_content = runpy.run_path(main_path, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 288, in run_path code, fname = _get_code_from_file(run_name, path_name) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 257, in _get_code_from_file code = compile(f.read(), fname, 'exec') ValueError: source code string cannot contain null bytes
I'm having the same issue here as well
Process SpawnProcess-2:
Traceback (most recent call last):
File "C:\Python38\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Python38\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\ai\stable-diffusion-webui\modules\deepbooru.py", line 41, in deepbooru_process
deepbooru_process_return["value"] = get_deepbooru_tags_from_model(model, tags, pil_image, threshold, deepbooru_opts)
File "C:\ai\stable-diffusion-webui\modules\deepbooru.py", line 124, in get_deepbooru_tags_from_model
image = tf.image.resize(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\tensorflow\python\util\traceback_utils.py", line 153, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\tensorflow\python\framework\constant_op.py", line 102, in convert_to_eager_tensor
return ops.EagerTensor(value, ctx.device_name, dtype)
ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type NoneType).
works fine here; webui on 98947d1 (latest as of now), tested on a "hello asuka" image
Download this file and unzip it to this location(stable-diffusion-webui\models\deepbooru)
Download this file and unzip it to this location(stable-diffusion-webui\models\deepbooru)
still seams to not work
Closing as stale.