PeterAM4's picture
Card: v2 paper citation, gated backbone, QASR-C routing
98b047e verified
|
Raw History Blame Contribute Delete
2.27 kB
---
license: other
license_name: dinov3-license
license_link: LICENSE.md
base_model: facebook/dinov3-vitl16-pretrain-sat493m
base_model_relation: adapter
pipeline_tag: image-segmentation
tags:
- remote-sensing
- semantic-segmentation
- dinov3
- mask2former
---
# SQuID DINOv3 + Mask2Former segmenter
The segmentation model behind **QASR-C** in the [SQuID paper](https://arxiv.org/abs/2601.13401). A frozen [DINOv3](https://arxiv.org/abs/2508.10104) ViT-L/16 ([SAT-493M weights](https://huggingface.co/facebook/dinov3-vitl16-pretrain-sat493m)) feeds a ViT-Adapter and a [Mask2Former](https://arxiv.org/abs/2112.01527) head trained on [EarthVQA](https://arxiv.org/abs/2312.12222) (8 classes: background, building, road, water, barren, forest, agriculture, playground). It reaches 57.6% mIoU on the EarthVQA validation split, which was also used to select the checkpoint and holds the SQuID EarthVQA images.
This repository holds only the trained adapter and head (`model.safetensors`). The frozen backbone loads from `facebook/dinov3-vitl16-pretrain-sat493m`, a gated repository whose license must be accepted on Hugging Face first.
## Usage
```bash
git clone https://github.com/PeterAMassih/SQuID && cd SQuID
pip install -r requirements.txt
pip install git+https://github.com/facebookresearch/dinov3@76c051f5732cb4500bff5c23ac3c54a3695f15ff
```
```python
from evaluation.dinov3_model import load_segmenter
model = load_segmenter("PeterAM4/SQuID-DINOv3-Mask2Former")
```
To run QASR-C on SQuID, use `DINOV3_CHECKPOINT=PeterAM4/SQuID-DINOv3-Mask2Former python benchmark/benchmark_agent.py --model gpt-5`. This model then serves forest, agriculture, barren land, water and roofs. Urban, grass and solar panels come from the ConvNeXt-UNet server, which is not released.
## License and citation
Released under the [DINOv3 License](LICENSE.md). Built with DINOv3.
```bibtex
@misc{massih2026squidbenchmarkquantitativespatial,
title = {SQuID: A Benchmark for Quantitative Spatial Reasoning on Satellite Imagery},
author = {Peter A. Massih and Eric Cosatto and Martin Renqiang Min},
year = {2026},
eprint = {2601.13401},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2601.13401}
}
```