huchenlei / ComfyUI-layerdiffuse

Layer Diffuse custom nodes
Apache License 2.0
1.44k stars 142 forks source link

no module named 'comfy.model_base' #100

Open DiegoRRR opened 1 month ago

DiegoRRR commented 1 month ago

I downloaded and extracted it in "custom_nodes".

D:\apps\stable-diffusion\ComfyUI_20230428>D:\apps\stable-diffusion\Forge\system\
python\python.exe main.py
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Using xformers cross attention
D:\apps\stable-diffusion\Forge\system\python\lib\site-packages\torchvision\io\im
age.py:13: UserWarning: Failed to load image Python extension: '[WinError 127] L
a procédure spécifiée est introuvable'If you don't plan on using image functiona
lity from `torchvision.io`, you can ignore this warning. Otherwise, there might
be something wrong with your environment. Did you have `libjpeg` or `libpng` ins
talled before building `torchvision` from source?
  warn(
Adding extra search path checkpoints ../automatic1111/webui/models/Stable-diffus
ion
Adding extra search path configs ../automatic1111/webui/models/Stable-diffusion
Adding extra search path vae ../automatic1111/webui/models/VAE
Adding extra search path loras ../automatic1111/webui/models/Lora
Adding extra search path upscale_models ../automatic1111/webui/models/ESRGAN
Adding extra search path upscale_models ../automatic1111/webui/models/SwinIR
Adding extra search path embeddings ../automatic1111/webui/embeddings
Adding extra search path hypernetworks ../automatic1111/webui/models/hypernetwor
ks
Adding extra search path controlnet ../automatic1111/webui/models/ControlNet
Traceback (most recent call last):
  File "D:\apps\stable-diffusion\ComfyUI_20230428\nodes.py", line 1205, in load_
custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\apps\stable-diffusion\ComfyUI_20230428\custom_nodes\ComfyUI-layerdiff
use-main\__init__.py", line 1, in <module>
    from .layered_diffusion import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPIN
GS
  File "D:\apps\stable-diffusion\ComfyUI_20230428\custom_nodes\ComfyUI-layerdiff
use-main\layered_diffusion.py", line 11, in <module>
    import comfy.model_base
ModuleNotFoundError: No module named 'comfy.model_base'

Cannot import D:\apps\stable-diffusion\ComfyUI_20230428\custom_nodes\ComfyUI-lay
erdiffuse-main module for custom nodes: No module named 'comfy.model_base'
Starting server

To see the GUI go to: http://127.0.0.1:8188