Fannovel16 / comfyui_controlnet_aux

ComfyUI's ControlNet Auxiliary Preprocessors
Apache License 2.0
2.13k stars 202 forks source link

Error occurred when executing MeshGraphormer-DepthMapPreprocessor #323

Open glynisbrits opened 5 months ago

glynisbrits commented 5 months ago

Error occurred when executing MeshGraphormer-DepthMapPreprocessor:

'FieldDescriptor' object has no attribute '_default_constructor'

File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/custom_nodes/comfyui_controlnet_aux/node_wrappers/mesh_graphormer.py", line 66, in execute model = MeshGraphormerDetector.from_pretrained(detect_thr=detect_thr, presence_thr=presence_thr).to(model_management.get_torch_device()) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux/mesh_graphormer/init.py", line 23, in from_pretrained pipeline = MeshGraphormerMediapipe(args, detect_thr=detect_thr, presence_thr=presence_thr) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux/mesh_graphormer/pipeline.py", line 203, in init self.detector = vision.HandLandmarker.create_from_options(options) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/venv/lib/python3.10/site-packages/mediapipe/tasks/python/vision/hand_landmarker.py", line 365, in create_from_options task_info.generate_graph_config( File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/venv/lib/python3.10/site-packages/mediapipe/tasks/python/core/task_info.py", line 97, in generate_graph_config node_config.options.CopyFrom(task_subgraph_options) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/venv/lib/python3.10/site-packages/google/protobuf/message.py", line 129, in CopyFrom self.MergeFrom(other_msg) File "/Users/andrewbrits/Library/Application Support/StabilityMatrix/Packages/ComfyUI/venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 1334, in MergeFrom field_value = field._default_constructor(self)

System Info: Mac M1 Pro 16GB Python 3.10.11

fmatray commented 5 months ago

Same issue here with the same configuration

minesofmoria commented 4 months ago

same error message

System Info: Mac M1 Studio 32GB Python 3.11.9