Default 0.3 was too aggressive — dark water, muddy ground, and
uniform textures fell below confidence threshold. Lower to 0.1
to reduce false background pixels.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Background analysis on crop_0_0/0_1 showed wetland/embankment areas
(dark grey-green, avg RGB 101,103,97) between water bodies not covered
by any existing class. Add:
- "muddy ground and wetland" (ID 14)
- "embankment and levee" (ID 15)
Total: 14 → 16 classes for UAV_VisLoc.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Relative 'in/weights' path fails when script is run from outside the
project root. Use _PROJECT_ROOT / "in" / "weights" instead.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
- Force save_npy=True when save_safetensors=True (lossless intermediate)
- Auto-enable cleanup_npy to remove intermediates after consolidation
- Save segmentation PNG in palette mode "P" (class IDs recoverable)
- Consolidation now works correctly from PNG-only previous runs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bundle all per-image modalities (depth, edge, chm, segm) into a single
.safetensors file for fast training DataLoader reads (~0.1ms zero-copy mmap
vs ~5ms for 4x PNG). Adds consolidate stage after main pipeline stages,
save_safetensors/cleanup_npy config flags, resume support, and 10 new tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>