Image Segmentation
Transformers
Safetensors
English
segformer
human-parsing
semantic-segmentation
fashion
virtual-try-on
Instructions to use fashn-ai/fashn-human-parser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fashn-ai/fashn-human-parser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="fashn-ai/fashn-human-parser")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("fashn-ai/fashn-human-parser") model = SegformerForSemanticSegmentation.from_pretrained("fashn-ai/fashn-human-parser") - Inference
- Notebooks
- Google Colab
- Kaggle
| { | |
| "do_reduce_labels": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_normalize": true, | |
| "image_mean": [0.485, 0.456, 0.406], | |
| "image_std": [0.229, 0.224, 0.225], | |
| "image_processor_type": "SegformerImageProcessor", | |
| "resample": 1, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 576, | |
| "width": 384 | |
| } | |
| } | |