Fix: pass explicit prompts to SegConfig in UAV_VisLoc script
SegConfig(prompts=None) crashes on len(None) when gin config is not loaded. Pass the 11-class prompt list directly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,11 @@ def main() -> None:
|
||||
)
|
||||
|
||||
input_conf = InputConfig(image_size=256)
|
||||
seg_conf = SegConfig()
|
||||
seg_conf = SegConfig(prompts=[
|
||||
"background", "building", "road", "vegetation", "water",
|
||||
"sand and gravel ground", "rocky terrain", "farmland",
|
||||
"railway", "parking lot", "sidewalk",
|
||||
])
|
||||
models_conf = ModelsConfig()
|
||||
|
||||
setup_logging(
|
||||
|
||||
Reference in New Issue
Block a user