lllyasviel / ControlNet-v1-1-nightly

Nightly release of ControlNet 1.1
4.48k stars 364 forks source link

controlnet i2i can't work #64

Open CNMagicturtle opened 1 year ago

CNMagicturtle commented 1 year ago

Error running process: E:\novelai-webui-aki-v3\extensions\sd-webui-segment-anything\scripts\sam.py Traceback (most recent call last): File "E:\novelai-webui-aki-v3\modules\scripts.py", line 417, in process script.process(p, *script_args) File "E:\novelai-webui-aki-v3\extensions\sd-webui-segment-anything\scripts\sam.py", line 761, in process process_unit.set_process_attributes(p) File "E:\novelai-webui-aki-v3\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 "E:\novelai-webui-aki-v3\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: 'UiControlNetUnit' object is not subscriptable 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

Error running process: E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "E:\novelai-webui-aki-v3\modules\scripts.py", line 417, in process script.process(p, *script_args) File "E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\scripts\controlnet.py", line 984, in process self.enabled_units = self.get_enabled_units(p) File "E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\scripts\controlnet.py", line 943, in get_enabled_units unit = self.parse_remote_call(p, unit, idx) File "E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\scripts\controlnet.py", line 795, in parse_remote_call unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True) AttributeError: 'list' object has no attribute 'enabled' 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

ControlNet v1.1.173 python: 3.10.8  •  torch: 2.0.0+cu118  •  xformers: 0.0.17rc482  •  gradio: 3.28.1  •  commit: 5ab7f213  •  checkpoint: c0d1994c73

t2i controlnet can work,i2i cant work

CNMagicturtle commented 1 year ago

Pixel Perfect Mode Enabled In Preview. resize_mode = Crop and Resize raw_H = 800 raw_W = 800 target_H = 800 target_W = 800 estimation = 800.0 Preview Resolution = 800 Loading model: control_v11p_sd15_canny [d14c016b] Loaded state_dict from [E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\models\control_v11p_sd15_canny.pth] Loading config: E:\novelai-webui-aki-v3\extensions\sd-webui-controlnet\models\control_v11p_sd15_canny.yaml ControlNet model control_v11p_sd15_canny [d14c016b] loaded. Loading preprocessor: canny Pixel Perfect Mode Enabled. resize_mode = ResizeMode.INNER_FIT raw_H = 800 raw_W = 800 target_H = 800 target_W = 800 estimation = 800.0 preprocessor resolution = 800 locon load lora method

Total progress: 1it [00:46, 46.71s/it]

Total progress: 2it [00:46, 19.38s/it]

Total progress: 3it [00:47, 10.65s/it]

Total progress: 4it [00:47, 6.55s/it]

Total progress: 5it [00:47, 4.28s/it]

Total progress: 6it [00:48, 2.92s/it]

Total progress: 7it [00:48, 2.05s/it]

Total progress: 8it [00:48, 1.48s/it]

Total progress: 9it [00:48, 1.10s/it]

Total progress: 10it [00:49, 1.19it/s]

Total progress: 11it [00:49, 1.50it/s]

Total progress: 12it [00:49, 1.84it/s]

Total progress: 13it [00:49, 2.19it/s]

Total progress: 14it [00:50, 2.51it/s]

Total progress: 15it [00:50, 2.78it/s]

Total progress: 16it [00:50, 3.05it/s]

Total progress: 17it [00:50, 3.24it/s]

Total progress: 18it [00:51, 3.36it/s]

Total progress: 19it [00:51, 3.51it/s]

Total progress: 20it [00:51, 3.60it/s]

Total progress: 21it [00:51, 3.68it/s]

Total progress: 22it [00:52, 3.74it/s]

Total progress: 23it [00:52, 3.80it/s]

Total progress: 24it [00:52, 3.84it/s]

Total progress: 25it [00:52, 3.86it/s]

Total progress: 26it [00:53, 3.88it/s]

Total progress: 27it [00:53, 3.90it/s]

Total progress: 28it [00:53, 3.92it/s]

Total progress: 29it [00:53, 3.91it/s]

Total progress: 30it [00:54, 3.92it/s]

Total progress: 30it [00:54, 3.92it/s] Total progress: 30it [00:54, 1.83s/it]

t2i controlnet can work.