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

Comfy Updated with a Deprecation Change Causing Error #47

Closed camoody1 closed 4 months ago

camoody1 commented 4 months ago
Traceback (most recent call last):
  File "H:\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "H:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inpaint-nodes\__init__.py", line 21, in <module>
    from . import nodes
  File "H:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inpaint-nodes\nodes.py", line 14, in <module>
    from comfy_extras.chainner_models.types import PyTorchModel
ModuleNotFoundError: No module named 'comfy_extras.chainner_models.types'

Hoping you can make changes to your nodes to work with this change.

Thank you

laitianwen commented 4 months ago

I also appear after the update of this problem, please ask you to solve it?

lyx0206331 commented 4 months ago

The same as you, how to resolve it?

sevenlucas7 commented 4 months ago

I also appear after the update of this problem

toyxyz commented 4 months ago

Same here!

Acly commented 4 months ago

Done

camoody1 commented 4 months ago

Done

Thank you! Greatly appreciated.

freshlesh3 commented 4 months ago

Done

Sorry, I'm still getting this error when loading Krita AI. I used a fresh install of Comfy, updated Krita and installed your custom nodes and still getting the missing node error.

Jayho2008 commented 2 months ago

I have the same problem, I have installed, but it was showing missing the inpaint nodes, Please help

Jayho2008 commented 2 months ago

Done

how I can you fix it ? please help