Update README.md
Browse files
README.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
| 2 |
license: cc-by-nc-nd-4.0
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
# Model Card for StainNet
|
| 7 |
|
| 8 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
|
| 10 |
-
`StainNet` is a lightweight foundation model for special staining histology images.
|
| 11 |
|
| 12 |
The model is a Vision Transformer Small/16 with DINO [1] self-supervised pre-training on 1,418,938 patch images from 20,231 special staining whole slide images (WSIs) in HISTAI [2].
|
| 13 |
|
|
@@ -16,6 +18,8 @@ The model is a Vision Transformer Small/16 with DINO [1] self-supervised pre-tra
|
|
| 16 |
```python
|
| 17 |
import timm
|
| 18 |
import torch
|
|
|
|
|
|
|
| 19 |
|
| 20 |
model = timm.create_model('hf_hub:JWonderLand/StainNet', pretrained=True)
|
| 21 |
|
|
|
|
| 2 |
license: cc-by-nc-nd-4.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
pipeline_tag: image-feature-extraction
|
| 6 |
+
library_name: timm
|
| 7 |
---
|
| 8 |
# Model Card for StainNet
|
| 9 |
|
| 10 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 11 |
|
| 12 |
+
`StainNet` is a lightweight foundation model for special staining histology images. Arxiv preprint paper: [https://arxiv.org/abs/2512.10326]
|
| 13 |
|
| 14 |
The model is a Vision Transformer Small/16 with DINO [1] self-supervised pre-training on 1,418,938 patch images from 20,231 special staining whole slide images (WSIs) in HISTAI [2].
|
| 15 |
|
|
|
|
| 18 |
```python
|
| 19 |
import timm
|
| 20 |
import torch
|
| 21 |
+
import torchvision.transforms as transforms
|
| 22 |
+
|
| 23 |
|
| 24 |
model = timm.create_model('hf_hub:JWonderLand/StainNet', pretrained=True)
|
| 25 |
|