Nodes/ComfyUI-BrainDead/BD Fashn Human Parser
ComfyUI Node

BD Fashn Human Parser

Parse a human image into 18 semantic regions using fashn-ai/fashn-human-parser (SegFormer-B4). Outputs a HUMAN_PARSE_MAP for the mask-split node. Weights are NVIDIA SegFormer license — prefer ATR backend for commercial work.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Fashn Human Parser
  • image
  • parse_map
model_idfashn-ai/fashn-human-parser
deviceauto
dtypefp16
confidence_threshold0.00
cache_dir
Category🧠BrainDead/Segmentation

Inputs (6)

NameTypeDefaultDescription
imageIMAGE
model_idSTRINGfashn-ai/fashn-human-parserHuggingFace repo id
deviceoptCOMBOauto3 options: auto, cuda, cpu
dtypeoptCOMBOfp163 options: fp16, bf16, fp32
confidence_thresholdoptFLOAT0.000–1Pixels with max-softmax below this become background. 0 = off. Try 0.5–0.7 to clean noise. Tip: for sharper boundaries, downsize the image to ~512px before this node (FASHN was trained at 384×576). Large inputs blur edges on the upsample.
cache_diroptSTRINGOverride HF cache dir. Blank → HF_HOME env var, or ComfyUI models/huggingface/, or HF default.

Outputs (1)

NameTypeDescription
parse_mapHUMAN_PARSE_MAP