Update segmentation.gin to unified 17 classes
All datasets now use the same 17-class prompt list for transfer learning compatibility. World-UAV segmentation needs regeneration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,18 +1,23 @@
|
|||||||
# Open-vocabulary segmentation parameters
|
# Unified 17-class open-vocabulary segmentation (shared across all datasets)
|
||||||
# 12 cross-view invariant classes for geo-localization
|
# See scripts/seg_classes.py for canonical source, docs/segmentation_class_analysis.md for rationale
|
||||||
# See docs/segmentation_class_analysis.md for full rationale
|
|
||||||
SegConfig.prompts = [
|
SegConfig.prompts = [
|
||||||
'background', # 0 — unclassified
|
'background', # 0 — unclassified
|
||||||
'building', # 1 — buildings, rooftops
|
'building', # 1 — buildings, rooftops
|
||||||
'road', # 2 — roads, asphalt
|
'road', # 2 — roads, asphalt
|
||||||
'vegetation', # 3 — trees, bushes, forest canopy
|
'vegetation', # 3 — trees, bushes, forest canopy
|
||||||
'water', # 4 — rivers, canals, sea, lakes
|
'water', # 4 — rivers, canals, sea, lakes
|
||||||
'sand and gravel ground', # 5 — soil, gravel, sand, dust, bare earth
|
'sand and gravel ground', # 5 — soil, gravel, sand, dust, bare earth
|
||||||
'rocky terrain', # 6 — rock, stone, lava, canyon walls
|
'rocky terrain', # 6 — rock, stone, lava, canyon walls
|
||||||
'farmland', # 7 — agricultural terraces, fields
|
'farmland', # 7 — agricultural terraces, fields
|
||||||
'railway', # 8 — railway tracks, rails
|
'railway', # 8 — railway tracks, rails
|
||||||
'parking lot', # 9 — parking areas
|
'parking lot', # 9 — parking areas
|
||||||
'sidewalk', # 10 — sidewalks, pedestrian zones, embankments
|
'sidewalk', # 10 — sidewalks, pedestrian zones
|
||||||
|
'bare soil and plowed field', # 11 — plowed fields, construction sites
|
||||||
|
'roof and rooftop', # 12 — rooftops, solar panels
|
||||||
|
'sports field and playground', # 13 — courts, pitches
|
||||||
|
'muddy ground and wetland', # 14 — wet soil, marshes, levee banks
|
||||||
|
'embankment and levee', # 15 — earthen dams, canal walls
|
||||||
|
'swimming pool', # 16 — pools (GTA-UAV suburbs)
|
||||||
]
|
]
|
||||||
SegConfig.threshold = 0.15
|
SegConfig.threshold = 0.15
|
||||||
SegConfig.default_resolution = 1008
|
SegConfig.default_resolution = 1008
|
||||||
|
|||||||
Reference in New Issue
Block a user