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
Release checkpoint used in the ASN Neuro manuscript: V0 fine-tuning run, step 2992 (6 classes)
Browse files- .gitattributes +1 -0
- config.json +1 -5
- model.safetensors +2 -2
.gitattributes
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
val_M3-225-KO__P90__G_C__Gracilus_x4800_1_png.rf.29755ea85f544d36ecb4a1d7b824543c_aug0_original.png filter=lfs diff=lfs merge=lfs -text
|
| 2 |
sample_image.png filter=lfs diff=lfs merge=lfs -text
|
| 3 |
sample/sample_prediction.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 1 |
val_M3-225-KO__P90__G_C__Gracilus_x4800_1_png.rf.29755ea85f544d36ecb4a1d7b824543c_aug0_original.png filter=lfs diff=lfs merge=lfs -text
|
| 2 |
sample_image.png filter=lfs diff=lfs merge=lfs -text
|
| 3 |
sample/sample_prediction.png filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
config.json
CHANGED
|
@@ -2088,9 +2088,7 @@
|
|
| 2088 |
"2": "mito like organelle",
|
| 2089 |
"3": "mitochondria",
|
| 2090 |
"4": "mitochondria outside axon",
|
| 2091 |
-
"5": "periaxonal space"
|
| 2092 |
-
"6": "axon",
|
| 2093 |
-
"7": "myelin"
|
| 2094 |
},
|
| 2095 |
"ignore_value": 255,
|
| 2096 |
"importance_sample_ratio": 0.75,
|
|
@@ -2098,12 +2096,10 @@
|
|
| 2098 |
"init_xavier_std": 1.0,
|
| 2099 |
"label2id": {
|
| 2100 |
"abnormality": "1",
|
| 2101 |
-
"axon": "6",
|
| 2102 |
"background": "0",
|
| 2103 |
"mito like organelle": "2",
|
| 2104 |
"mitochondria": "3",
|
| 2105 |
"mitochondria outside axon": "4",
|
| 2106 |
-
"myelin": "7",
|
| 2107 |
"periaxonal space": "5"
|
| 2108 |
},
|
| 2109 |
"mask_feature_size": 256,
|
|
|
|
| 2088 |
"2": "mito like organelle",
|
| 2089 |
"3": "mitochondria",
|
| 2090 |
"4": "mitochondria outside axon",
|
| 2091 |
+
"5": "periaxonal space"
|
|
|
|
|
|
|
| 2092 |
},
|
| 2093 |
"ignore_value": 255,
|
| 2094 |
"importance_sample_ratio": 0.75,
|
|
|
|
| 2096 |
"init_xavier_std": 1.0,
|
| 2097 |
"label2id": {
|
| 2098 |
"abnormality": "1",
|
|
|
|
| 2099 |
"background": "0",
|
| 2100 |
"mito like organelle": "2",
|
| 2101 |
"mitochondria": "3",
|
| 2102 |
"mitochondria outside axon": "4",
|
|
|
|
| 2103 |
"periaxonal space": "5"
|
| 2104 |
},
|
| 2105 |
"mask_feature_size": 256,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47556111de44a339a573b1754349f2b843d9fcdcbd5c63efae2e7a41adcd596b
|
| 3 |
+
size 865903448
|