Closed kenyonxu closed 8 months ago
Update Inspire Pack and try again.
Hi I got a new error message after updating: Error occurred when executing DWPreprocessor_Provider_for_SEGS //Inspire:
DWPreprocessor_Provider_for_SEGS.doit() missing 2 required positional arguments: 'bbox_detector' and 'pose_estimator'
File "E:\UGit\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
Hi again, I have this figured out, I was running it cuda121 which onnx runtime does not support, now it works fine after i down graded to cuda 11.8
Error occurred when executing DetailerForEachDebugPipe:
'NoneType' object has no attribute 'get_providers'
File "E:\UGit\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\impact_pack.py", line 1440, in doit DetailerForEach.do_detail(image, segs, model, clip, vae, guide_size, guide_size_for, max_size, seed, steps, cfg, File "E:\UGit\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\impact_pack.py", line 249, in do_detail enhanced_image, cnet_pils = core.enhance_detail(cropped_image, model, clip, vae, guide_size, guide_size_for_bbox, max_size, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\core.py", line 227, in enhance_detail positive, negative, cnet_pils = control_net_wrapper.apply(positive, negative, upscaled_image, noise_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\core.py", line 1518, in apply cnet_image = self.preprocessor.apply(image, mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack\inspire\segs_support.py", line 214, in apply return obj.estimate_pose(image, detect_hand, detect_body, detect_face, resolution=resolution)['result'][0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 72, in estimate_pose model = DwposeDetector.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose__init__.py", line 175, in from_pretrained t = Wholebody(det_model_path, None, torchscript_device=torchscript_device) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\UGit\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose\wholebody.py", line 42, in init print(f"Failed to load onnxruntime with {self.det.get_providers()}.\nPlease change EP_list in the config.yaml and restart ComfyUI") ^^^^^^^^^^^^^^^^^^^^^^