XLabs-AI / x-flux-comfyui

Apache License 2.0
1.06k stars 71 forks source link

Excuse me, is VAE encoding input currently not supported? #103

Open 807502278 opened 2 months ago

807502278 commented 2 months ago

As long as there is input, an error will be reported. Adjusting the resolution doesn't help either.

got prompt
!!! Exception during processing !!! list index out of range
Traceback (most recent call last):
  File "D:\AI\ComfyUI-3D\ComfyUI\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI-3D\ComfyUI\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI-3D\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\AI\ComfyUI-3D\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\x-flux-comfyui\nodes.py", line 379, in sampling
    x = denoise_controlnet(
        ^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI-3D\ComfyUI\custom_nodes\x-flux-comfyui\sampling.py", line 256, in denoise_controlnet
    t = timesteps[t_idx]
        ~~~~~~~~~^^^^^^^
IndexError: list index out of range