Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when selecting "tile" as the preprocessor #42

Open
physeo opened this issue Aug 13, 2024 · 4 comments
Open

Error when selecting "tile" as the preprocessor #42

physeo opened this issue Aug 13, 2024 · 4 comments

Comments

@physeo
Copy link

physeo commented Aug 13, 2024

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
Copy link

same issue too

@maurobotta
Copy link

i too

@JJonC1995
Copy link

has anyone figured out a fix? I am having this issue too.

@Rusty-sk
Copy link

Has anyone found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants