A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/continue-revolution/sd-webui-segment-anything/issues/93 below:

'bool' object is not subscriptable · Issue #93 · continue-revolution/sd-webui-segment-anything · GitHub

Is there an existing issue for this? Have you updated WebUI and this extension to the newest version? Do you understand that you should go to https://github.com/IDEA-Research/Grounded-Segment-Anything/issues if you cannot install GroundingDINO? Do you know that you should use the newest ControlNet extension and enable external control if you want SAM extension to control ControlNet? What happened?

when use webui, and img2img,have an error, controlnet is not work, I have allowed other script to control this extension and the same time close the segment. But when I remove the segment, the controlnet is ok, img2img is ok

Steps to reproduce the problem
  1. Go to ....
  2. Press ....
  3. ...
What should have happened?

s

Commit where the problem happens

webui:
extension:

What browsers do you use to access the UI ?

No response

Command Line Arguments
linux .sh --xformers --api --api-log --enable-insecure-extension-access
Console logs
Error running process: /a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-segment-anything/scripts/sam.py
Traceback (most recent call last):
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-segment-anything/scripts/sam.py", line 761, in process
    process_unit.set_process_attributes(p)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-segment-anything/scripts/process_params.py", line 87, in set_process_attributes
    inpaint_image, inpaint_mask = self.sam_inpaint_unit.get_input_and_mask(inpaint_mask_blur)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-segment-anything/scripts/process_params.py", line 45, in get_input_and_mask
    mask = Image.open(self.output_mask_gallery[self.output_chosen_mask + 3]['name']).convert('L')
TypeError: 'bool' object is not subscriptable

Error running process: /a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-controlnet/scripts/controlnet.py", line 982, in process
    self.enabled_units = self.get_enabled_units(p)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-controlnet/scripts/controlnet.py", line 944, in get_enabled_units
    unit = self.parse_remote_call(p, unit, idx)
  File "/a8root/work/sd_webui/stable-diffusion-webui_1/extensions/sd-webui-controlnet/scripts/controlnet.py", line 796, in parse_remote_call
    unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True)
AttributeError: 'list' object has no attribute 'enabled'

100%|██████████| 31/31 [00:32<00:00,  1.05s/it][
Total progress: 100%|██████████| 31/31 [00:32<00:00,  1.04s/it]
Total progress: 100%|██████████| 31/31 [00:32<00:00,  1.34it/s]
Additional information

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4