sipherxyz / comfyui-art-venture

157 stars 38 forks source link

Error occurred when executing LaMaInpaint: #27

Open chris1024hub opened 7 months ago

chris1024hub commented 7 months ago

Error occurred when executing LaMaInpaint:

File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\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 "L:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama__init__.py", line 85, in lama_inpaint model = load_model() ^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama__init.py", line 53, in load_model lama = load_checkpoint(cfg, files[0], strict=False, map_location="cpu") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "L:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\inpaint\lama\saicinpainting\training\trainers\init__.py", line 29, in load_checkpoint model.load_state_dict(state["state_dict"], strict=strict)


File "L:\comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\jit\_script.py", line 874, in __getitem__
return self.forward_magic_method("__getitem__", idx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\jit\_script.py", line 867, in forward_magic_method
raise NotImplementedError()
chris1024hub commented 7 months ago
Snipaste_2024-04-13_02-20-04
KennyChan3389 commented 7 months ago

me too!help!

chindden commented 7 months ago

same error

skywolf123 commented 6 months ago

me too!

ellyoun13 commented 6 months ago

same error!

gxbsyxh commented 6 months ago

same error!

Milor123 commented 5 months ago

Same error T_T

CraneCooker commented 5 months ago

same error

kunkun-zhu commented 4 months ago

same error!

hjcxlp commented 4 months ago

same error here

technerd-official commented 4 months ago

Same error here. Any fix for it?

ykhasia commented 4 months ago

same issue. pls help

yhf1407 commented 3 months ago

+1

chris1024hub commented 3 months ago

me too,anybody know how to fix it ?

technerd-official commented 3 months ago

I just used a different lama inpaint node > this one "LaMaInpainting (Mixlab)" and it works!

mohammad-parvizi-dev commented 3 months ago

same error!