comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
53.45k stars 5.66k forks source link

Custom ControlNet nodes don't work in Colab #1235

Open Taikakim opened 1 year ago

Taikakim commented 1 year ago

The custom nodes which can be optionally installed don't work, the following libraries are missing:

timm mediapipe fvcore omegaconf (requires runtime restart) ftfy

Installing these allows me now to load these nodes.

ltdrdata commented 1 year ago

When you restart Colab, all dependency packages are reset to their initial state, so you need to go through the process of reinstalling them.

To solve this issue, I've created a separate custom notebook based on the Manager approach.

https://github.com/ltdrdata/ComfyUI-Manager/tree/main/notebooks

Taikakim commented 1 year ago

Hmm yes actually I realised that even if I can load the nodes, none of the three depth map processors work actually :/ I will try your notebook at some point. Does it need it's own installation on my Drive? I'm a bit concerned by huge parallel installations.

ltdrdata commented 1 year ago

Hmm yes actually I realised that even if I can load the nodes, none of the three depth map processors work actually :/ I will try your notebook at some point. Does it need it's own installation on my Drive? I'm a bit concerned by huge parallel installations.

The reason the depth preprocessor isn't working is that you need to modify skip_v1 to False in the config.yaml of the controlnet.