Downloads · 30 days
27
18% of all-time downloads
Noel-Niko/dinov2-upernet-20260322-histology-annotation-mouse
dinov2-upernet-20260322-histology-annotation-mouse 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 mouse brain structures in Nissl-stained histological sections.
Downloads · 30 days
27
18% of all-time downloads
All-time downloads
151
Public
Parameters
342M
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 mouse brain structures in Nissl-stained histological sections.
| Attribute | Value |
|---|---|
| Architecture | DINOv2-Large (304M) + UperNet (38M) |
| Classes | 1,328 |
| Input Size | 518x518 |
| Training Data | Allen Brain Institute CCFv3 10um Nissl staining |
| mIoU (center-crop) | 74.8% |
| mIoU (sliding window) | 79.1% |
git clone https://github.com/Noel-Niko/histological-image-analysis
cd histological-image-analysis
make install
make download-models-mouse
make annotate-mouse IMAGES=/path/to/your/slides/
Transfer Learning for Ultra-Fine-Grained Brain Region Segmentation: An Ablation Study with DINOv2 + UperNet on 1,328 Allen Mouse Brain Atlas Structures
We conduct a systematic ablation study across 9 training runs on pixel-level segmentation of 1,328 brain structures from the Allen Mouse Brain Atlas CCFv3. The two most impactful interventions are backbone partial fine-tuning (+8.5% mIoU) and extended training from 100 to 200 epochs (+6.0% mIoU). Three attempted improvements — weighted Dice+CE loss, aggressive augmentation, and test-time augmentation — all degrade performance.
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