You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Replacer] Exception: 'KDiffusionSampler' object has no attribute 'vec_cc'
*** Error completing request
*** Arguments: ('task(wtzt3emgu5f2k1g)', 'pants', 'shoes,jacket', 'green pants', '', 0.0, <PIL.Image.Image image mode=RGBA size=720x1280 at 0x24632236B90>, None, 'E:\Pro_Video\dn01_0111\rev\i', '', True, '', 10, '', -1, 'DPM++ 2M SDE Karras', 20, 0.3, 4, 4, 1280, 'sam_vit_h_4b8939.pth', 'GroundingDINO_SwinB (938MB)', 8, 1, 40, 0, 720, 1, 1280, 1, 0, False, []) {}
Traceback (most recent call last):
File "D:\Sdwebui-graph\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "D:\Sdwebui-graph\modules\call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 488, in generate_webui
return generate(*args, **kwargs)
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 349, in generate
processed, extraImages = generateSingle(image, gArgs, saveDir, "", save_to_dirs, extra_includes,
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 146, in generateSingle
processed = inpaint(image, gArgs, savePath, saveSuffix, save_to_dirs,
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 94, in inpaint
processed = process_images(p)
File "D:\Sdwebui-graph\modules\processing.py", line 734, in process_images
res = process_images_inner(p)
File "D:\Sdwebui-graph\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "D:\Sdwebui-graph\modules\processing.py", line 868, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "D:\Sdwebui-graph\extensions\sd-webui-bmab\sd_bmab\sd_override\img2img.py", line 14, in sample
return super().sample(conditioning, unconditional_conditioning, seeds, subseeds, subseed_strength, prompts)
File "D:\Sdwebui-graph\modules\processing.py", line 1527, in sample
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning)
File "D:\Sdwebui-graph\modules\sd_samplers_kdiffusion.py", line 188, in sample_img2img
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\Sdwebui-graph\modules\sd_samplers_common.py", line 261, in launch_sampling
return func()
File "D:\Sdwebui-graph\modules\sd_samplers_kdiffusion.py", line 188, in
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\Sdwebui-graph\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\Sdwebui-graph\repositories\k-diffusion\k_diffusion\sampling.py", line 628, in sample_dpmpp_2m_sde
callback({'x': x, 'i': i, 'sigma': sigmas[i], 'sigma_hat': sigmas[i], 'denoised': denoised})
File "D:\Sdwebui-graph\extensions\sd-webui-vectorscope-cc\scripts\cc_callback.py", line 9, in cc_callback
if not self.vec_cc['enable']:
AttributeError: 'KDiffusionSampler' object has no attribute 'vec_cc'
The text was updated successfully, but these errors were encountered:
xiohulp
changed the title
pls advise how to solve this error
pls advise how to fix this error AttributeError: 'KDiffusionSampler' object has no attribute 'vec_cc'
Jan 20, 2024
[Replacer] Exception: 'KDiffusionSampler' object has no attribute 'vec_cc'
*** Error completing request
*** Arguments: ('task(wtzt3emgu5f2k1g)', 'pants', 'shoes,jacket', 'green pants', '', 0.0, <PIL.Image.Image image mode=RGBA size=720x1280 at 0x24632236B90>, None, 'E:\Pro_Video\dn01_0111\rev\i', '', True, '', 10, '', -1, 'DPM++ 2M SDE Karras', 20, 0.3, 4, 4, 1280, 'sam_vit_h_4b8939.pth', 'GroundingDINO_SwinB (938MB)', 8, 1, 40, 0, 720, 1, 1280, 1, 0, False, []) {}
Traceback (most recent call last):
File "D:\Sdwebui-graph\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "D:\Sdwebui-graph\modules\call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 488, in generate_webui
return generate(*args, **kwargs)
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 349, in generate
processed, extraImages = generateSingle(image, gArgs, saveDir, "", save_to_dirs, extra_includes,
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 146, in generateSingle
processed = inpaint(image, gArgs, savePath, saveSuffix, save_to_dirs,
File "D:\Sdwebui-graph\extensions\sd-webui-replacer\replacer\generate.py", line 94, in inpaint
processed = process_images(p)
File "D:\Sdwebui-graph\modules\processing.py", line 734, in process_images
res = process_images_inner(p)
File "D:\Sdwebui-graph\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
File "D:\Sdwebui-graph\modules\processing.py", line 868, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "D:\Sdwebui-graph\extensions\sd-webui-bmab\sd_bmab\sd_override\img2img.py", line 14, in sample
return super().sample(conditioning, unconditional_conditioning, seeds, subseeds, subseed_strength, prompts)
File "D:\Sdwebui-graph\modules\processing.py", line 1527, in sample
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning)
File "D:\Sdwebui-graph\modules\sd_samplers_kdiffusion.py", line 188, in sample_img2img
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\Sdwebui-graph\modules\sd_samplers_common.py", line 261, in launch_sampling
return func()
File "D:\Sdwebui-graph\modules\sd_samplers_kdiffusion.py", line 188, in
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\Sdwebui-graph\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\Sdwebui-graph\repositories\k-diffusion\k_diffusion\sampling.py", line 628, in sample_dpmpp_2m_sde
callback({'x': x, 'i': i, 'sigma': sigmas[i], 'sigma_hat': sigmas[i], 'denoised': denoised})
File "D:\Sdwebui-graph\extensions\sd-webui-vectorscope-cc\scripts\cc_callback.py", line 9, in cc_callback
if not self.vec_cc['enable']:
AttributeError: 'KDiffusionSampler' object has no attribute 'vec_cc'
The text was updated successfully, but these errors were encountered: