GeoSeg-PV models
weights for solar panel detection in satellite imagery
2 min readupdated
A collection of trained weights for segmenting (splitting an image into objects) individual photovoltaic modules in ultra-high-resolution satellite imagery. The models are based on various computer vision architectures (such as UNetFormer, FT-UNetFormer, DCSwin, and MANet) with fine-tuning module (FOM) support. The tool outputs frame-by-frame masks defining the locations of solar panels relative to the background. This development is useful for researchers, engineers, and geospatial data specialists analyzing solar energy and assessing rooftop potential.
Key features
- 10 different network architectures with and without the FOM module.
- Training on high-quality Google satellite imagery with a resolution of about 0.1 m.
- High F1 (up to 0.952) and IoU (up to 0.908) metric scores for the best configurations.
- Open-source Creative Commons Attribution 4.0 (CC BY 4.0) license for commercial and non-commercial use.
What you can do
- Run inference on satellite images for automated solar panel detection.
- Average predictions from multiple models or splits to improve segmentation accuracy.
- Integrate weights into geospatial pipelines based on the GeoSeg-PV repository.
Example
from huggingface_hub import hf_hub_download
from geoseg.pv import load_model, predict_proba
path = hf_hub_download('nikolukac/GeoSeg-PV-models', 'ftunetformer_fom/fold0.safetensors')
model = load_model(path, device='cuda')
pv = predict_proba(model, rgb, device='cuda') >= 0.5 # rgb: uint8 array (H, W, 3), any size
Read more
Details• Metrics: the best ftunetformer_fom configuration shows an F1 of 0.952 ± 0.008 and an IoU of 0.908 ± 0.014.
• Requirements: GPU operation via CUDA is supported, input data consists of 8-bit RGB images normalized to ImageNet standards.
• Training details: AdamW optimizer with Lookahead, soft cross-entropy and Dice loss functions.
• Size: 85 files, total size 11.2 GB.










Comments