taabata / LCM_Inpaint_Outpaint_Comfy

ComfyUI custom nodes for inpainting/outpainting using the new latent consistency model (LCM)
244 stars 17 forks source link

Loading Model Issues  !LCMLoader_controlnet #7

Open ZTWY35 opened 10 months ago

ZTWY35 commented 10 months ago

I don't know how to load the model, as shown in the figure: R~2%I~JW W%F~W_CMRJ3UJW Model path: D: Program Files ComfyUI_ 10 ComfyUI models controllnet But it's not much use.

cpietsch commented 10 months ago

They do show up in Load Controlnet Model node for me

taabata commented 10 months ago

model_path is for the LCM model itself not controlnet (usually left empty if not facing any problems loading the model). Regarding controlnet models, after placing your desired controlnet models in the models/controlnet folder in your ComfyUI directory, you can select it by clicking on 'mode' in the loader node (a drop down menu will show up). Sorry for any inconveniences. Controlnet model should be a folder containing the diffusion_pytorch_model.bin and the config.json.

ZTWY35 commented 10 months ago

model_path is for the LCM model itself not controlnet (usually left empty if not facing any problems loading the model). Regarding controlnet models, after placing your desired controlnet models in the models/controlnet folder in your ComfyUI directory, you can select it by clicking on 'mode' in the loader node (a drop down menu will show up). Sorry for any inconveniences. Controlnet model should be a folder containing the diffusion_pytorch_model.bin and the config.json.

I don't quite understand, there are many ". safesensors,. pth,. yaml files" in the models/controllnet directory, but there are no diffusion_pytorch_model. bin and the config.json. files .

ahosama commented 10 months ago

When I click on 'mode' there's no drop down, I have a bunch of controlnet models inside the models/controlnet folder. diffusion_pytorch_model. bin and the config.json that you refer to could you provide a download link for them and also if I add this to the controlnet folder will my existing models be detected by these nodes?

kronkinatorix commented 10 months ago

This is kafkaesque

jags111 commented 10 months ago

there is a model path issue in the code as it is not finding the correct path so the code is broken . it is better to specify clear path and cross reference same

dnakov commented 10 months ago

https://huggingface.co/lllyasviel/sd-controlnet-canny/tree/main put this dir in models/controlnet, it should show up as an option of mode