计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
core-segmentation【效率与协作】Routes SamGeo SAM1 and SAM2 geospatial segmentation workflows including automatic masks, point and box prompts, batch or video prediction, and raster/vector outputs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
SamGeo and SamGeo2Use this sub-skill for original SAM and SAM2 package workflows: GeoTIFF or image segmentation, automatic mask generation, prompt-based masks, SAM2 batches or videos, and converting masks to geospatial vectors.
SamGeo, samgeo.SamGeo, samgeo.samgeo.SamGeo, SAM1,
vit_h, vit_l, or vit_b.SamGeo2, SAM2, sam2-hiera-*, SAM2 video prediction, or
batch prompt prediction.point_crs, band selection, foreground/unique
masks, or when to call set_image() before predict().scripts/check_install.py; include
--require-cuda if the user expects GPU inference.SamGeo vs SamGeo2:
SamGeo: original SAM checkpoints (vit_h, vit_l, vit_b), simple
automatic or prompt workflows.SamGeo2: SAM2 Hiera model ids, batch prompt prediction, video workflows,
or newer SAM2 mask generation.bands=[r, g, b] when reading or setting images.automatic=True and call
generate(source, output=...).automatic=False, call set_image(...),
then predict(...) with points, boxes, labels, and optional CRS parameters.tiff_to_gpkg, tiff_to_geojson, or the
utilities sub-skill after masks are written.SamGeo and
SamGeo2, prints method signatures, and reports device availability without
downloading model weights.Use these after full skill integration, not during planning:
tests/test_samgeo3.py belongs to the SAM3 sub-skill, not here.tests/test_common.py local raster/image-prep cases validate shared helpers
used by this sub-skill.tests/test_samgeo.py is realistic evidence for SAM1 automatic/prompt masks
but downloads map tiles and needs model checkpoints; run only if network and
model assets are explicitly authorized.