File size: 724 Bytes
d200158 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
---
datasets:
- RationAI/PanNuke
tags:
- medical
- pannuke
- dinov2
- segmentation
- nuclei-segmentation
license: gpl-3.0
pipeline_tag: image-segmentation
---
# DINOv2 Nuclei Segmentation Model
## Model Details
- **Format**: PyTorch .pth checkpoint
- **Architecture**: DINOv2-Base (vitb14) with custom decoder
- **Training Data**: PanNuke dataset
- **Input Size**: 252x252
- **Classes**: Background, Neoplastic, Inflammatory, Connective, Dead, Epithelial
## Usage
```python
from huggingface_hub import hf_hub_download
model = DinoV2ForSegmentation(num_classes=6)
model.load_state_dict(
torch.load(
hf_hub_download(
repo_id="{model_repo}",
filename="{best_checkpoint}"
)
)
) |