XLabs-AI / x-flux

Apache License 2.0
1.38k stars 96 forks source link

NoneType' object is not subscriptable #52

Open kakachiex2 opened 1 month ago

kakachiex2 commented 1 month ago

I'm getting this errors wen executing xlabsSampler

Error occurred when executing XlabsSampler:

'NoneType' object is not subscriptable

File "K:\ComfyUI\ComfyUI_Ex\ComfyUI\execution.py", line 316, 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 "K:\ComfyUI\ComfyUI_Ex\ComfyUI\execution.py", line 191, 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 "K:\ComfyUI\ComfyUI_Ex\ComfyUI\execution.py", line 168, in _map_node_over_list process_inputs(input_dict, i) File "K:\ComfyUI\ComfyUI_Ex\ComfyUI\execution.py", line 157, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "K:\ComfyUI\ComfyUI_Ex\ComfyUI\custom_nodes\x-flux-comfyui\nodes.py", line 294, in sampling bc, c, h, w = latent_image['samples'].shape

Anghellia commented 1 month ago

Hi. Could you please send more details about your input image, workflow for ComfyUI?