sipherxyz / comfyui-art-venture

128 stars 34 forks source link

Error when selecting "tile" as the preprocessor #42

Open physeo opened 4 weeks ago

physeo commented 4 weeks ago

Below is the error received. Other preprocessor selections such as depth, canny and openpose all work correctly. The error occurs with both sdxl and sd15 selected.   `Error occurred when executing AV_ControlNetPreprocessor:

'resolution' is not in list

File "C:\Users\physe\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\physe\AI\ComfyUI_windows_portable\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 "C:\Users\physe\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\physe\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet__init__.py", line 136, in detect_controlnet image = apply_preprocessor(image, preprocessor, resolution=resolution) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\physe\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet__init__.py", line 38, in apply_preprocessor resolution_idx = list(optional_args).index("resolution") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^`

okt-wang commented 3 weeks ago

same issue too

maurobotta commented 3 weeks ago

i too