LucianoCirino / efficiency-nodes-comfyui

A collection of ComfyUI custom nodes. ⚠️ WARNING: This repo is no longer maintained.
https://civitai.com/models/32342
GNU General Public License v3.0
587 stars 147 forks source link

TSC_HighRes_Fix.hires_fix_script() missing 2 required positional arguments: 'pixel_upscaler' and 'control_net_name' #215

Open realcarlos opened 10 months ago

realcarlos commented 10 months ago

Screenshot from 2023-10-23 21-16-03 Screenshot from 2023-10-23 21-16-42

I could not find the "use_controlnet" choice

JSK333 commented 9 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.

JSK333 commented 9 months ago

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)))

JohnGitting commented 9 months ago

"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.

LOKSTED commented 8 months ago

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