Downloads · 30 days
0
alessiopierdominici/osmclip_vit32base
osmclip_vit32base is a machine learning model from alessiopierdominici. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as gpl-3.0.
Official weights for OSM-CLIP (OpenStreetCLIP), a vision–language framework that leverages OpenStreetMap (OSM) annotations for patch-level geographic supervision in remote sensing.
Downloads · 30 days
0
Access
Public
Updated May 15, 2026
Repo size
1.1 GB
Likes
1
Public
Click a slice to open those files.
.pt1.1 GB · 100%
From the Hugging Face model README
Official weights for OSM-CLIP (OpenStreetCLIP), a vision–language framework that leverages OpenStreetMap (OSM) annotations for patch-level geographic supervision in remote sensing.
Standard CLIP models operate on global image–text alignment, collapsing an entire satellite image into a single feature vector.
OSM-CLIP instead injects patch-level geographic semantics by aligning ViT patches with OSM-derived textual tags (e.g. building residential, highway primary), enabling spatially grounded representations that better capture fine-grained geospatial structure.
This repository provides all three checkpoints used in the ablation study of the associated paper.
| File Name | Paper name | Pre-training | Description |
|---|---|---|---|
osm-clip-pretrained-finetuned.pt | OSM-PT+FT | OSM patch-level contrastive pre-training + FT | Main OSM-CLIP model. Pre-trained with OSM patch-level supervision and then fine-tuned on RS captioning datasets. |
clip-rs-pretrained-finetuned.pt | RS-PT+FT | Generic RS image pre-training + FT | Ablation baseline. CLIP pre-trained on the same 265k RS images using a generic caption (“a satellite image”), then fine-tuned. Used to isolate the effect of more RS data without OSM semantics. |
clip-standard-finetuned.pt | FT | No pre-training (CLIP only fine-tuned) | Baseline. Original OpenAI CLIP ViT-B/32 weights fine-tuned on RS captioning datasets only (no RS or OSM pre-training). |
All three models share the same architecture and fine-tuning setup; only the pre-training strategy changes.
Use osm-clip-pretrained-finetuned.pt when you want spatially grounded, OSM-aware representations for:
Use clip-standard-finetuned.pt as a strong CLIP-based baseline without any RS- or OSM-specific pre-training.
Use clip-rs-pretrained-finetuned.pt if you want to replicate the ablation from the paper and test the effect of “more RS data without OSM semantics”.
If you use these models, please cite the associated paper (currently under review):
@article{openstreetclip2026,
title = {OSM-CLIP: Enhancing Remote Sensing Image-Text Representation Learning with OpenStreetMap Data},
author = {Pierdominici, Alessio and Ricci, Riccardo and Alruqimi, Mohammed and Melgani, Farid},
journal = {Applied Sciences},
year = {2026},
note = {submitted}
}
(Update with volume/issue/DOI once published.)
Developed at the University of Trento.