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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| model_id | STRING | fashn-ai/fashn-human-parser | HuggingFace repo id |
| deviceopt | COMBO | auto | 3 options: auto, cuda, cpu |
| dtypeopt | COMBO | fp16 | 3 options: fp16, bf16, fp32 |
| confidence_thresholdopt | FLOAT | 0.000–1 | Pixels 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_diropt | STRING | Override HF cache dir. Blank → HF_HOME env var, or ComfyUI models/huggingface/, or HF default. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| parse_map | HUMAN_PARSE_MAP | — |