8.gif

妄想队员A

回 84楼(飞鸟akuro) 的帖子

兄弟用的模型是哪个呀

none.gif

hanaye

https://x.imgex.org/0/66672dc66d7ce.webp
按照教程一步步做的但是还是缺少这几个节点咋办

none.gif

77d08d4f

Error occurred when executing SAMModelLoader (segment anything):

大佬 提示这个报错怎么解决

none.gif

77d08d4f

大佬,英特尔I卡玩不了吗?
Error occurred when executing SAMModelLoader (segment anything):

Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

File "D:\AI\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\AI\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\AI\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\AI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything\node.py", line 269, in main
sam_model = load_sam_model(model_name)
File "D:\AI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything\node.py", line 86, in load_sam_model
sam = sam_model_registry[model_type](checkpoint=sam_checkpoint_path)
File "D:\AI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything\sam_hq\build_sam_hq.py", line 39, in build_sam_hq_vit_b
return _build_sam_hq(
File "D:\AI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything\sam_hq\build_sam_hq.py", line 122, in _build_sam_hq
return _load_sam_checkpoint(sam, checkpoint)
File "D:\AI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything\sam_hq\build_sam_hq.py", line 67, in _load_sam_checkpoint
state_dict = torch.load(f)
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1014, in load
return _load(opened_zipfile,
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1422, in _load
result = unpickler.load()
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1392, in persistent_load
typed_storage = load_tensor(dtype, nbytes, key, _maybe_decode_ascii(location))
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1366, in load_tensor
wrap_storage=restore_location(storage, location),
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 381, in default_restore_location
result = fn(storage, location)
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 274, in _cuda_deserialize
device = validate_cuda_device(location)
File "D:\AI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 258, in validate_cuda_device
raise RuntimeError('Attempting to deserialize object on a CUDA '

none.gif

xiaoxio6

大佬这是什么问题
Error occurred when executing KSampler (Efficient):

list index out of range

File "F:\AIDS\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "F:\AIDS\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "F:\AIDS\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 700, in sample
samples, images, gifs, preview = process_latent_image(model, seed, steps, cfg, sampler_name, scheduler,
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui\efficiency_nodes.py", line 533, in process_latent_image
samples = KSampler().sample(model, seed, steps, cfg, sampler_name, scheduler, positive, negative,
File "F:\AIDS\ComfyUI-aki-v1.3\nodes.py", line 1368, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "F:\AIDS\ComfyUI-aki-v1.3\nodes.py", line 1338, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 248, in motion_sample
return orig_comfy_sample(model, noise, *args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\sample.py", line 100, in sample
samples = sampler.sample(noise, positive_copy, negative_copy, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 703, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 608, in sample
samples = sampler.sample(model_wrap, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 547, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "F:\AIDS\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\k_diffusion\sampling.py", line 580, in sample_dpmpp_2m
denoised = model(x, sigmas * s_in, **extra_args)
File "F:\AIDS\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 285, in forward
out = self.inner_model(x, sigma, cond=cond, uncond=uncond, cond_scale=cond_scale, model_options=model_options, seed=seed)
File "F:\AIDS\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 272, in forward
return self.apply_model(*args, **kwargs)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 269, in apply_model
out = sampling_function(self.inner_model, x, timestep, uncond, cond, cond_scale, model_options=model_options, seed=seed)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 249, in sampling_function
cond_pred, uncond_pred = calc_cond_uncond_batch(model, cond, uncond_, x, timestep, model_options)
File "F:\AIDS\ComfyUI-aki-v1.3\comfy\samplers.py", line 197, in calc_cond_uncond_batch
c['control'] = control.get_control(input_x, timestep_, c, len(cond_or_uncond))
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 468, in get_control_inject
return self.get_control_advanced(x_noisy, t, cond, batched_number)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 32, in get_control_advanced
return self.sliding_get_control(x_noisy, t, cond, batched_number)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 37, in sliding_get_control
control_prev = self.previous_controlnet.get_control(x_noisy, t, cond, batched_number)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 468, in get_control_inject
return self.get_control_advanced(x_noisy, t, cond, batched_number)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 32, in get_control_advanced
return self.sliding_get_control(x_noisy, t, cond, batched_number)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\control.py", line 79, in sliding_get_control
return self.control_merge(None, control, control_prev, output_dtype)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 582, in control_merge_inject
x *= self.strength * self.calc_weight(i, x, len(control_output))
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 485, in calc_weight
return self.weights.get(idx=idx)
File "F:\AIDS\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet\adv_control\utils.py", line 58, in get
return self.weights[idx]

none.gif

e959d84d

大佬,请问报这个错是什么原因呀:

Error occurred when executing AIO_Preprocessor:

An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\__init__.py", line 117, in execute
return getattr(aux_class(), aux_class.FUNCTION)(**params)
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\node_wrappers\densepose.py", line 19, in execute
model = DenseposeDetector \
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\densepose\__init__.py", line 27, in from_pretrained
torchscript_model_path = custom_hf_download(pretrained_model_or_path, filename)
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\util.py", line 324, in custom_hf_download
model_path = hf_hub_download(repo_id=pretrained_model_or_path,
File "", line 52, in hf_hub_download_wrapper_inner
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "D:\fakenude\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\file_download.py", line 1371, in hf_hub_download
raise LocalEntryNotFoundError(

none.gif

e959d84d

回 36楼(飞鸟akuro) 的帖子

xd怎么解决的

1327522.jpg

Ridley

B100F  2024-06-13 05:07
(空的)
你们遇到的大部分问题我都解答过了,严格按照帖子里的步骤来不会有问题(除了网络问题)

none.gif

jhrczcj

B101F  2024-06-13 13:21
(jhrczcj)
大佬,我手绘遮罩和自动遮罩合并后还是会有手绘遮罩外的区域,请问该怎么调

1327522.jpg

Ridley

B102F  2024-06-13 16:13
(空的)

回 101楼(jhrczcj) 的帖子

默认是手动自动遮罩相加,你可以改成相乘,如果你不了解怎么调,可以去看看之前三篇教程帖

wrrrrr


none.gif

狂信徒

求助大佬:
Error occurred when executing AIO_Preprocessor:

An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

File "D:\Tool\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Tool\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Tool\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Tool\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\__init__.py", line 117, in execute
return getattr(aux_class(), aux_class.FUNCTION)(**params)
File "D:\Tool\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\node_wrappers\densepose.py", line 19, in execute
model = DenseposeDetector \
File "D:\Tool\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\densepose\__init__.py", line 27, in from_pretrained
torchscript_model_path = custom_hf_download(pretrained_model_or_path, filename)
File "D:\Tool\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\util.py", line 324, in custom_hf_download
model_path = hf_hub_download(repo_id=pretrained_model_or_path,
File "", line 52, in hf_hub_download_wrapper_inner
File "D:\Tool\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "D:\Tool\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\file_download.py", line 1371, in hf_hub_download
raise LocalEntryNotFoundError(

none.gif

234d65f9

搜藏按钮怎么不见了

none.gif

jhrczcj

B106F  2024-06-14 14:09
(jhrczcj)
图片:
交个作业

none.gif

宛若青空

Error occurred when executing SegmDetectorSEGS:

'NO_SEGM_DETECTOR' object has no attribute 'detect'

File "D:\ConfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ConfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ConfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ConfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack\modules\impact\detectors.py", line 126, in doit
segs = segm_detector.detect(image, threshold, dilation, crop_factor, drop_size, detailer_hook)

none.gif

7e28bb80

感谢分享

none.gif

狂信徒

最后重绘的地方是一片白色……

none.gif

狂信徒

回 12楼(薄幸) 的帖子

大哥怎么解决的?