Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comfyUI 开始任务出现如下错误 #137

Open
jimmyyu1989 opened this issue Nov 15, 2024 · 0 comments
Open

comfyUI 开始任务出现如下错误 #137

jimmyyu1989 opened this issue Nov 15, 2024 · 0 comments

Comments

@jimmyyu1989
Copy link

ComfyUI Error Report

Error Details

  • Node Type: LayerMask: PersonMaskUltra V2
  • Exception Type: OSError
  • Exception Message: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory E:\ComfyUI-aki-v1.4\models\vitmatte.

Stack Trace

  File "E:\ComfyUI-aki-v1.4\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "E:\ComfyUI-aki-v1.4\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 156, in person_mask_ultra_v2
    _mask = generate_VITMatte(orig_image, _trimap, local_files_only=local_files_only, device=device, max_megapixels=max_megapixels)

  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1576, in generate_VITMatte
    vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only)

  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1546, in load_VITMatte_model
    model = VitMatteForImageMatting.from_pretrained(model_name, local_files_only=local_files_only)

  File "E:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\modeling_utils.py", line 3763, in from_pretrained
    raise EnvironmentError(

System Information

  • ComfyUI Version: v0.1.3-22-gd4aeefc2
  • Arguments: E:\ComfyUI-aki-v1.4\main.py --auto-launch --preview-method auto --disable-cuda-malloc
  • OS: nt
  • Python Version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.3.1+cu121

Devices

  • Name: cuda:0 Quadro RTX 4000 : native
    • Type: cuda
    • VRAM Total: 8589606912
    • VRAM Free: 7496269824
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2024-11-15 17:36:37,834 - root - INFO - Total VRAM 8192 MB, total RAM 32636 MB
2024-11-15 17:36:37,834 - root - INFO - pytorch version: 2.3.1+cu121
2024-11-15 17:36:38,991 - root - INFO - xformers version: 0.0.27
2024-11-15 17:36:38,994 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-15 17:36:38,994 - root - INFO - Device: cuda:0 Quadro RTX 4000 : native
2024-11-15 17:36:39,174 - root - INFO - Using xformers cross attention
2024-11-15 17:36:39,746 - root - INFO - [Prompt Server] web root: E:\ComfyUI-aki-v1.4\web
2024-11-15 17:36:41,432 - root - INFO - Total VRAM 8192 MB, total RAM 32636 MB
2024-11-15 17:36:41,432 - root - INFO - pytorch version: 2.3.1+cu121
2024-11-15 17:36:41,432 - root - INFO - xformers version: 0.0.27
2024-11-15 17:36:41,432 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-15 17:36:41,432 - root - INFO - Device: cuda:0 Quadro RTX 4000 : native
2024-11-15 17:36:43,422 - root - INFO - --------------
2024-11-15 17:36:43,422 - root - INFO - �[91m ### Mixlab Nodes: �[93mLoaded
2024-11-15 17:36:43,431 - root - INFO - ChatGPT.available True
2024-11-15 17:36:43,432 - root - INFO - edit_mask.available True
2024-11-15 17:36:44,290 - root - INFO - ClipInterrogator.available True
2024-11-15 17:36:44,422 - root - INFO - PromptGenerate.available True
2024-11-15 17:36:44,423 - root - INFO - ChinesePrompt.available True
2024-11-15 17:36:44,423 - root - INFO - RembgNode_.available True
2024-11-15 17:36:44,797 - root - INFO - TripoSR.available
2024-11-15 17:36:44,797 - root - INFO - MiniCPMNode.available
2024-11-15 17:36:45,062 - root - INFO - Scenedetect.available
2024-11-15 17:36:45,148 - root - INFO - FishSpeech.available
2024-11-15 17:36:45,155 - root - INFO - SenseVoice.available
2024-11-15 17:36:45,180 - root - INFO - Whisper.available False
2024-11-15 17:36:45,189 - root - INFO - FalVideo.available
2024-11-15 17:36:45,189 - root - INFO - �[93m -------------- �[0m
2024-11-15 17:36:50,334 - root - INFO - 
Import times for custom nodes:
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\websocket_image_save.py
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\AIGODLIKE-ComfyUI-Translation
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\FreeU_Advanced
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\stability-ComfyUI-nodes
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ControlNet-LLLite-ComfyUI
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_TiledKSampler
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-WD14-Tagger
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_experiments
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\PowerNoiseSuite
2024-11-15 17:36:50,334 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_IPAdapter_plus
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\images-grid-comfy-plugin
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Custom-Scripts
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_UltimateSDUpscale
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_essentials
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Advanced-ControlNet
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\rgthree-comfy
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\efficiency-nodes-comfyui
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui-workspace-manager
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-KJNodes
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-11-15 17:36:50,335 - root - INFO -    0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui_controlnet_aux
2024-11-15 17:36:50,335 - root - INFO -    0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Inspire-Pack
2024-11-15 17:36:50,335 - root - INFO -    0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Crystools
2024-11-15 17:36:50,335 - root - INFO -    0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_InstantID
2024-11-15 17:36:50,335 - root - INFO -    0.2 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FizzNodes
2024-11-15 17:36:50,335 - root - INFO -    0.4 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR
2024-11-15 17:36:50,335 - root - INFO -    0.4 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle
2024-11-15 17:36:50,335 - root - INFO -    0.4 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager
2024-11-15 17:36:50,335 - root - INFO -    0.6 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Marigold
2024-11-15 17:36:50,335 - root - INFO -    0.9 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Impact-Pack
2024-11-15 17:36:50,335 - root - INFO -    2.7 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui-mixlab-nodes
2024-11-15 17:36:50,335 - root - INFO -    3.8 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-11-15 17:36:50,335 - root - INFO - 
2024-11-15 17:36:50,349 - root - INFO - 

2024-11-15 17:36:50,350 - root - INFO - 

Starting server
2024-11-15 17:36:50,350 - root - INFO - �[93mTo see the GUI go to: http://192.168.110.229:8188 or http://127.0.0.1:8188
2024-11-15 17:36:50,350 - root - INFO - �[93mTo see the GUI go to: https://192.168.110.229:8189 or https://127.0.0.1:8189�[0m
2024-11-15 17:36:59,254 - root - INFO - got prompt
2024-11-15 17:36:59,258 - root - ERROR - Failed to validate prompt for output 328:
2024-11-15 17:36:59,258 - root - ERROR - * CheckpointLoaderSimple 34:
2024-11-15 17:36:59,258 - root - ERROR -   - Value not in list: ckpt_name: 'DreamShaper XL v2.1 Turbo 闪电_v2.1 Turbo' not in []
2024-11-15 17:36:59,258 - root - ERROR - * ControlNetLoader 43:
2024-11-15 17:36:59,258 - root - ERROR -   - Value not in list: control_net_name: 'control_instant_id_sdxl' not in []
2024-11-15 17:36:59,258 - root - ERROR - * InstantIDModelLoader 42:
2024-11-15 17:36:59,258 - root - ERROR -   - Value not in list: instantid_file: 'ip-adapter_instant_id_sdxl' not in []
2024-11-15 17:36:59,258 - root - ERROR - * ControlNetLoader 54:
2024-11-15 17:36:59,258 - root - ERROR -   - Value not in list: control_net_name: 'xinsir_controlnet-canny-sdxl_V2' not in []
2024-11-15 17:36:59,258 - root - ERROR - Output will be ignored
2024-11-15 17:37:00,963 - root - ERROR - !!! Exception during processing !!! Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory E:\ComfyUI-aki-v1.4\models\vitmatte.
2024-11-15 17:37:00,966 - root - ERROR - Traceback (most recent call last):
  File "E:\ComfyUI-aki-v1.4\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "E:\ComfyUI-aki-v1.4\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
  File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 156, in person_mask_ultra_v2
    _mask = generate_VITMatte(orig_image, _trimap, local_files_only=local_files_only, device=device, max_megapixels=max_megapixels)
  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1576, in generate_VITMatte
    vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only)
  File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1546, in load_VITMatte_model
    model = VitMatteForImageMatting.from_pretrained(model_name, local_files_only=local_files_only)
  File "E:\ComfyUI-aki-v1.4\python\lib\site-packages\transformers\modeling_utils.py", line 3763, in from_pretrained
    raise EnvironmentError(
OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory E:\ComfyUI-aki-v1.4\models\vitmatte.

2024-11-15 17:37:00,967 - root - INFO - Prompt executed in 1.70 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

(Please add any additional context or steps to reproduce the error here)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant