SAVRN's Notes on segformer_b2_clothes
This SegFormer model labels clothing and body parts pixel by pixel: hat, hair, sunglasses, upper clothes, skirt, pants, shoes, bags and more. It was trained on the ATR human parsing dataset and has 27M parameters.
The license is listed as other, so check the terms and the terms of the NVIDIA SegFormer base before commercial use. It is popular for virtual try-on and fashion tools, with more than 500 likes.
SAVRN Research, 2026-09-18
Model Card
SegFormer model fine-tuned on ATR dataset for clothes segmentation but can also be used for human segmentation. The dataset on hugging face is called "mattmdjaga/humanparsingdataset". Labels: 0: "Background", 1: "Hat", 2: "Hair", 3: "Sunglasses", 4: "Upper-clothes", 5: "Skirt", 6: "Pants", 7: "Dress", 8: "Belt", 9: "Left-shoe", 10: "Right-shoe", 11: "Face", 12: "Left-leg", 13: "Right-leg", 14: "Left-arm", 15: "Right-arm", 16: "Bag", 17: "Scarf" The license for this model can be found here.
Excerpt from the card by Mateusz Dziemian, licensed other.
Configuration
- Architecture
- SegformerForSemanticSegmentation
- Stored precision
- float32
- Model type
- segformer
Identity and Version
- Repository
- mattmdjaga/segformer_b2_clothes
- Publisher
- Mateusz Dziemian
- Task
- Image segmentation
- Modality
- Image
- Library
- transformers
- Parameters
- 27M parameters
- Languages
- Not stated by the source
- Revision
- 584abc1e1d260e23c0fc627c5217a09b2b461046
- First published
- 2022-11-24
- Last updated
- 2025-09-19
Files and Weights
17 files, 548.5 MB in total. The weights are 7 files totalling 548.2 MB in bin, onnx, pt, pth, safetensors.
Weights7 files · 548.2 MB
Configuration7 files · 301.9 KB
Documentation1 file · 4.4 KB
Repository2 files · 1.5 KB
Every file
License and Download
- License
- other
- Access
- Open weights, no gate
- Download size
- 548.2 MB
Built From
- Described by
arXiv:2105.15203
- Trained on (disclosed)
mattmdjaga/human_parsing_dataset
Memory Requirements
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About segformer_b2_clothes
How much GPU memory does segformer_b2_clothes need?
About 0.1 GB at 16-bit and 0 GB at 4-bit: the weights (27M parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run segformer_b2_clothes on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
What license is segformer_b2_clothes released under?
other, as its publisher declares it. Read the license text before commercial use.
Similar Models
This repository contains the Hugging Face Transformers conversion of the official VidEoMT checkpoint yt2019vitsmall52.8.pth from tue-mps/VidEoMT. The metrics above are the numbers reported by the authors in the official model zoo. Use processor.postprocessinstancesegmentation, processor.postprocesspanopticsegmentation, or processor.postprocesssemanticsegmentation depending on the target task.
Open weights
24M parameters
transformers
RF-DETR is a real-time detection transformer family introduced in RF-DETR: Neural Architecture Search for Real-Time Detection Transformers by Robinson et al. and integrated in Transformers via PR #36895. RF-DETR is an end-to-end instance segmentation model that combines ideas from LW-DETR and Deformable DETR: a DINOv2-with-registers style ViT backbone (with an RF-DETR windowing pattern for efficient attention), a multi-scale projector between encoder and decoder, and a multi-scale deformable DETR decoder extended with an instance-segmentation head. You can use the raw model for instance segmentation; it predicts per-instance masks together with bounding boxes and class scores. See the model…
Open weights
apache-2.0
34M parameters
transformers
MaskFormer model trained on COCO panoptic segmentation (tiny-sized version, Swin backbone). It was introduced in the paper Per-Pixel Classification is Not All You Need for Semantic Segmentation and first released in this repository. Disclaimer: The team releasing MaskFormer did not write a model card for this model so this model card has been written by the Hugging Face team. MaskFormer addresses instance, semantic and panoptic segmentation with the same paradigm: by predicting a set of masks and corresponding labels. Hence, all 3 tasks are treated as if they were instance segmentation. You can use this particular checkpoint for semantic segmentation. See the model hub to look for other…
Open weights
other
42M parameters
transformers
RMBG v1.4 is our state-of-the-art background removal model, designed to effectively separate foreground from background in a range of categories and image types. This model has been trained on a carefully selected dataset, which includes: general stock images, e-commerce, gaming, and advertising content, making it suitable for commercial use cases powering enterprise content creation at scale. The accuracy, efficiency, and versatility currently rival leading source-available models. It is ideal where content safety, legally licensed datasets, and bias mitigation are paramount. Developed by BRIA AI, RMBG v1.4 is available as a source-available model for non-commercial use. To purchase a…
Open weights
other
44M parameters
transformers
This repo is the official implementation of "Bilateral Reference for High-Resolution Dichotomous Image Segmentation" (CAAI AIR 2024). Visit our GitHub repo: https://github.com/ZhengPeng7/BiRefNet for more details -- codes, docs, and model zoo! This repo contains the weights of BiRefNet proposed in our paper, which has achieved the SOTA performance on three tasks (DIS, HRSOD, and COD). Go to my GitHub page for BiRefNet codes and the latest updates: https://github.com/ZhengPeng7/BiRefNet:) + Online Single Image Inference on Colab: + Online Inference with GUI on Hugging Face with adjustable resolutions: + Inference and evaluation of your given weights: + Many thanks to @fal for their generous…
Open weights
mit
44M parameters
birefnet
Mask2Former model trained on COCO instance segmentation (tiny-sized version, Swin backbone). It was introduced in the paper Masked-attention Mask Transformer for Universal Image Segmentation and first released in this repository. Disclaimer: The team releasing Mask2Former did not write a model card for this model so this model card has been written by the Hugging Face team. Mask2Former addresses instance, semantic and panoptic segmentation with the same paradigm: by predicting a set of masks and corresponding labels. Hence, all 3 tasks are treated as if they were instance segmentation. Mask2Former outperforms the previous SOTA, MaskFormer both in terms of performance an efficiency by (i)…
Open weights
other
47M parameters
transformers