# ============================================================================= # geoap-hf-space / config.yaml # Single source of truth for the Space and the Hub scripts. # ============================================================================= hub: # Change to your own namespace before pushing. owner: "GeminiTwins" detection_repo: "GeminiTwins/geoap-yolo26m-detection" segmentation_repo: "GeminiTwins/geoap-yolo26m-segmentation" space_repo: "GeminiTwins/geoap-satellite-cv" # Filenames inside each model repo detection_filename: "best.pt" segmentation_filename: "best.pt" private: false model: # Base checkpoints used for fine-tuning (auto-downloaded by ultralytics) detection_base: "yolo26m.pt" segmentation_base: "yolo26m-seg.pt" # Local fallback paths, tried before the Hub. Relative to project root. detection_local: "weights/detection_best.pt" segmentation_local: "weights/segmentation_best.pt" classes: detection: - batiment - arbre - panneaux_solaires - bassin segmentation: - parcelle_cultivee - terre_non_cultivee - route - riviere - piste_agricole tiling: tile_size: 640 overlap: 0.2 inference: confidence_threshold: 0.25 iou_threshold: 0.5 nms_type: "NMM" # NMS | NMM | GREEDYNMM (SAHI postprocess) max_side: 4096 # downscale images larger than this before tiling mask_alpha: 0.55 ui: title: "GeoAP — Satellite Detection & Segmentation (YOLO26m)" description: > Tiled inference on high-resolution aerial / satellite imagery. Detection finds buildings, trees, solar panels and water basins. Segmentation maps cultivated parcels, bare land, roads, rivers and farm tracks.