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
Update README.md
Browse files
README.md
CHANGED
|
@@ -96,11 +96,11 @@ print(f"Unique classes found: {np.unique(pred)}")
|
|
| 96 |
|
| 97 |
**Input EM image:**
|
| 98 |
|
| 99 |
-

|
| 100 |
|
| 101 |
**Predicted segmentation overlay:**
|
| 102 |
|
| 103 |
+

|
| 104 |
|
| 105 |
## Model Use, License, and Citation
|
| 106 |
|