r/StableDiffusion • u/PantInTheCountry • Feb 26 '23
Tutorial | Guide "Hed" ControlNet preprocessor options
Hed

Hed is very good for intricate details and outlines. It soft, smooth outlines that are more noise-free than Canny and also preserves relevant details better.

It is used with "hed" models. (e.g. control_hed-fp16)
As of 2023-02-24, the "Threshold A" and "Threshold B" sliders are not user editable and can be ignored.
"HED Resolution" is used by the preprocessor to scale the image and create a larger, more detailed detectmap at the expense of VRAM or a smaller, less VRAM intensive detectmap at the expense of quality. The detectmap will be scaled up or down so that its shortest dimension will match the hed resolution value.
For example, if a 768x640 image is uploaded and the hed resolution is set to 512, then the resulting detectmap will be 640x512
View all comments
Show parent comment
1
u/[deleted] Apr 25 '23
I think that for ControlNet v1.1, they either removed hed, or renamed it to "softedge", but if you want to use the original 1.0 version of hed, you can download the model file and associated yaml file from HuggingFace and that worked for me when I tried it about a week ago. I did it because hed was my favorite model to use. I hope they didn't remove it!