Comfy-Org / Comfy-Org/ComfyUI

Some custom nodes and extensions aren't working on Colab

Open
#670 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

Hi. Thanks for developing ComfyUI. I'm having lots of fun using it. I'm experiencing some issues in Colab though:

1. I'd like to change a node's name, but clicking properties just closes the pop-up menu.

2. I get errors when using some nodes in Colab:

Cannot import /content/ComfyUI/custom_nodes/sampler_tonemap.py module for custom nodes: invalid character '·' (U+00B7) (sampler_tonemap.py, line 72)

Cannot import /content/ComfyUI/custom_nodes/sampler_rescalecfg.py module for custom nodes: invalid character '·' (U+00B7) (sampler_rescalecfg.py, line 72)

Cannot import /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors module for custom nodes: No module named 'mediapipe'
Traceback (most recent call last):
File "/content/ComfyUI/nodes.py", line 1304, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 879, in exec_module
File "", line 1017, in get_code
File "", line 947, in source_to_code
File "", line 241, in _call_with_frames_removed

3. Then the image feed and node locking extensions aren't working. I also tried putting the .js files directly in the extensions folder but they still don't work. Here are all the additional lines I'm using in Colab:

!git clone https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb/ /content/ComfyUI/custom_nodes/ComfyUI_ADV_CLIP_emb
!git clone https://github.com/BlenderNeko/ComfyUI_Cutoff/ /content/ComfyUI/custom_nodes/ComfyUI_Cutoff
!git clone https://github.com/BlenderNeko/ComfyUI_Noise/ /content/ComfyUI/custom_nodes/ComfyUI_Noise
!git clone https://github.com/BlenderNeko/ComfyUI_TiledKSampler/ /content/ComfyUI/custom_nodes/ComfyUI_TiledKSampler
!git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors/ /content/ComfyUI/custom_nodes/comfy_controlnet_preprocessors
!git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack/ /content/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
!git clone https://github.com/LucianoCirino/efficiency-nodes-comfyui/ /content/ComfyUI/custom_nodes/efficiency-nodes-comfyui
!git clone https://github.com/WASasquatch/was-node-suite-comfyui/ /content/ComfyUI/custom_nodes/was-node-suite-comfyui
!wget -c https://github.com/comfyanonymous/ComfyUI_experiments/blob/master/sampler_rescalecfg.py -P ./custom_nodes/
!wget -c https://github.com/comfyanonymous/ComfyUI_experiments/blob/master/sampler_tonemap.py -P ./custom_nodes/
!wget -c https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/main/image-feed/imageFeed.js -P ./web/extensions/image-feed/
!wget -c https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/main/lock-nodes-and-groups/locking.js -P ./web/extensions/lock-nodes-and-groups/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.