yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
1.06k stars 72 forks source link

powerpaint errot TypeError: expected str, bytes or os.PathLike object, not NoneType #247

Open whmc76 opened 4 months ago

whmc76 commented 4 months ago

!!! Exception during processing!!! expected str, bytes or os.PathLike object, not NoneType Traceback (most recent call last): File "E:\IMAGE\ComfyUI_master\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\IMAGE\ComfyUI_master\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\IMAGE\ComfyUI_master\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\IMAGE\ComfyUI_master\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 2564, in apply new_pipe, = applyPowerPaint().apply(new_pipe, image, mask, powerpaint_model, powerpaint_clip, dtype, fitting, function, scale, start_at, end_at) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\IMAGE\ComfyUI_master\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\easyNodes.py", line 2453, in apply ppclip, = cls.load_powerpaint_clip(base_clip, os.path.join(folder_paths.get_full_path("inpaint", powerpaint_clip))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 108, in join TypeError: expected str, bytes or os.PathLike object, not NoneType

yolain commented 4 months ago

clip缺失?

cloudZwj commented 4 months ago

WX20240718-180049@2x 请问这两个模型文件要放在哪个目录下

yolain commented 4 months ago

WX20240718-180049@2x 请问这两个模型文件要放在哪个目录下

models/inpaint/powerpaint

lingchen5201314 commented 3 months ago

模型去哪里下载啊 请给个链接

lingchen5201314 commented 3 months ago

WX20240718-180049@2x 请问这两个模型文件要放在哪个目录下

去哪下载这2个模型啊

hanetyb commented 3 months ago

here https://huggingface.co/JunhaoZhuang/PowerPaint-v2-1/tree/main/PowerPaint_Brushnet