Open realcarlos opened 10 months ago
I have this same issue! Cannot figure out why I don't have the use_controlnet option in my HighRes-Fix Script box. I get the same error, and seemingly no way to fix it.
Actually, this is the error I get:
Error occurred when executing HighRes-Fix Script:
TSC_HighRes_Fix.hires_fix_script() missing 1 required positional argument: 'control_net_name'
File "C:...\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:...\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:..\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
"control_net_name" is due to not having any controlnet models installed.
even if you don't use controlnet on the highresfix, it's going to return null and crash, so you need at least 1 installed.
I was able to workaround this by copying the Highres fix node from this example https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png
I could not find the "use_controlnet" choice