Run this model with HF Jobs

Run XLabs-AI/flux-controlnet-canny on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/XLabs-AI/flux-controlnet-canny. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/XLabs-AI/flux-controlnet-canny on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

why flux1-dev produce noisy image with canny controlnet

#15
by tanghengjian - opened

flux can produce a pretty image if cut off the controlnet module, but a noisy image produced if connected with controlnet module.
Please take a look,

flux:flux1-dev.safetensors
lora: furry_lora.safetensors
controlnent: flux-controlnet-canny
you can move this png file into comfyui
ComfyUI_00764_.png

sadly the results I get are vastly inconsistent but often they look like this. 90% of the time the end result is unusable, then randomly i will get a good gen. Been researching for about 7 hours today, haven't found a consistent solve.

I spent 70 hours since it came out, and come to same conclusion

XLabs AI org

Hi,

Currently, ControlNet is not working as expected in ComfyUI, because we use different implementation of sampling and other features in our code. We are working on integrating our implementation into ComfyUI directly, but it is not functional at the moment. Thank you for your understanding.

I have used Canny Controlnet in ComfyUI with the "Apply Controlnet (Advanced)" node. I'm getting good results by setting end_percent very low, like 0.01-0.05 to do just 1 or 2 steps. That points the image in the direction I want and then leaves Flux free to do what it wants. With end_percent too high the image quality degrades badly.

Sign up or log in to comment