Skip to content

ImportError: cannot import name 'check_download_model' from 'utils' #19

Description

@toyxyz

Hi! Thanks for the great work as always. I updated ComfyUI and got the following error: When I commented out all 'check_download_model', the error did not occur.

Traceback (most recent call last):
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet_init
.py", line 3, in
from .BiRefNet_node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\BiRefNet_node.py", line 7, in
from models.baseline import BiRefNet
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\models\baseline.py", line 11, in
from models.backbones.build_backbone import build_backbone
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BiRefNet\models\backbones\build_backbone.py", line 8, in
from utils import check_download_model
ImportError: cannot import name 'check_download_model' from 'utils' (C:\Comfy\ComfyUI_windows_portable\ComfyUI\utils_init_.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions