Acly / comfyui-inpaint-nodes

Nodes for better inpainting with ComfyUI: Fooocus inpaint model for SDXL, LaMa, MAT, and various other tools for pre-filling inpaint & outpaint areas.
GNU General Public License v3.0
634 stars 42 forks source link

我运行不成功,提示下列错误,有人能帮我么? #37

Closed lzhfdwu007 closed 5 months ago

lzhfdwu007 commented 5 months ago

(另外运行inpaint-simple.json时前后图片没有任何变化,有人能给我示例中的原图么?我像复现下inpaint.png上的案例看看问题出在哪里) 运行inpaint-preprocess.json时提示下列错误 Error occurred when executing INPAINT_MaskedFill:

The size of tensor a (512) must match the size of tensor b (64) at non-singleton dimension 2

File "D:\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\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 "D:\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\ComfyUI\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 237, in fill image[:, :, :, i] = m