Image Segmentation
Transformers
Safetensors
English
mask2former
Electron-Microscopy
Ultrastructure-Segmentation
Semantic-Segmentation
Instructions to use Dnq2025/MicroStructFormer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dnq2025/MicroStructFormer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Dnq2025/MicroStructFormer")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("Dnq2025/MicroStructFormer") model = Mask2FormerForUniversalSegmentation.from_pretrained("Dnq2025/MicroStructFormer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitattributes from Dnq2025/MicroStructFormer: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/Dnq2025/MicroStructFormer/resolve/583dfd903ccac6090ebe95ee2e36b2dcc2cdfaba/.gitattributes
- Command line
-
hf download hf://Dnq2025/MicroStructFormer@583dfd903ccac6090ebe95ee2e36b2dcc2cdfaba/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/Dnq2025/MicroStructFormer/resolve/583dfd903ccac6090ebe95ee2e36b2dcc2cdfaba/.gitattributes
189 Bytes
| val_M3-225-KO__P90__G_C__Gracilus_x4800_1_png.rf.29755ea85f544d36ecb4a1d7b824543c_aug0_original.png filter=lfs diff=lfs merge=lfs -text | |
| sample_image.png filter=lfs diff=lfs merge=lfs -text | |