StartHua / Comfyui_CXH_joy_caption

Recommended based on comfyui node pictures:Joy_caption + MiniCPMv2_6-prompt-generator + florence2
Apache License 2.0
444 stars 26 forks source link

Joy_caption节点报错 expected str, bytes or os.PathLike object, not NoneType #92

Open mr-bob-chang opened 1 month ago

mr-bob-chang commented 1 month ago

运行Joy_caption这个节点时会报错,报错内容如下

ComfyUI Error Report

Error Details

请问这个要怎么解决呢?

Msquan168 commented 2 weeks ago

File "E:\ComfyUI\execution.py", line 323, 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 "E:\ComfyUI\execution.py", line 198, 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 "E:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i)

File "E:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs))