Downloads · 30 days
15
14% of all-time downloads
Noel-Niko/dinov2-upernet-20260322-histology-annotation-human
dinov2-upernet-20260322-histology-annotation-human is a machine learning model from Noel-Niko. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
DINOv2-Large + UperNet model fine-tuned for semantic segmentation of human brain regions in Nissl-stained histological sections.
Downloads · 30 days
15
14% of all-time downloads
All-time downloads
106
Public
Parameters
341M
1.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.4 GB · 100%
From the Hugging Face model README
DINOv2-Large + UperNet model fine-tuned for semantic segmentation of human brain regions in Nissl-stained histological sections.
| Attribute | Value |
|---|---|
| Architecture | DINOv2-Large (304M) + UperNet (38M) |
| Classes | 44 (depth-3 brain regions) |
| Input Size | 518x518 |
| Training Data | Allen Human Brain Atlas (6 donors, Nissl staining) |
| mIoU (val center-crop) | 65.5% |
| mIoU (test sliding window) | 65.0% |
| Pixel accuracy (test) | 99.1% |
git clone https://github.com/Noel-Niko/histological-image-analysis
cd histological-image-analysis
make install
make download-models-human-allen
make annotate-human-allen IMAGES=/path/to/your/slides/
Cross-Species Transfer of Ultra-Fine-Grained Brain Segmentation: From Mouse to Human with DINOv2 + UperNet
We extend the DINOv2-Large + UperNet approach from mouse (1,328 classes, 79.1% mIoU) to human brain tissue using the Allen Human Brain Atlas (sparse SVG annotations, 6 donors). The depth-3 model (44 brain regions) achieves 65.5% val CC mIoU and 65.0% test SW mIoU with 99.1% pixel accuracy. Major structures (cerebellum, cerebral cortex, thalamus, pons) exceed 99% IoU.
See paper.md in this repo for the full paper.
If you use this model, please cite the training data sources and the paper included in this repository.
Full source code, training notebooks, and all models: https://github.com/Noel-Niko/histological-image-analysis
To update model weights, papers, or this README:
cd histological-image-analysis
export HUGGING_FACE_TOKEN=hf_your_token_here
# Update model weights (Databricks or local):
jupyter notebook notebooks/upload_models_to_hf.ipynb
# Update papers + READMEs (local only):
jupyter notebook notebooks/upload_papers_to_hf.ipynb