技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
robosat【数据与研究】Guides RoboSat aerial and satellite imagery segmentation workflows with Slippy Map data preparation, U-Net model lifecycle, feature post-processing, CLI usage, configs, and legacy environment troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves RoboSat, the robosat Python package, the rs CLI, aerial/satellite imagery semantic segmentation, Slippy Map tile trees, OSM-derived feature masks, U-Net checkpoints, probability PNGs, or GeoJSON feature extraction.
RoboSat is a legacy Mapbox package for feature extraction from aerial and satellite imagery. It organizes data as Slippy Map tiles, trains a PyTorch U-Net-style segmentation model, predicts binary foreground probabilities, and post-processes masks into GeoJSON features.
rs command or build a command line.| User task | Read |
|---|---|
| Extract OSM buildings/roads/parking, create tile CSVs, download imagery, rasterize labels, validate tile trees, compute class weights, or subset image/label tiles | data-preparation |
| Train or resume U-Net models, export ONNX, run batch prediction, serve mask tiles, inspect losses/metrics/transforms/checkpoints, or decide CPU vs CUDA | model-lifecycle |
| Convert probability PNGs to masks, extract parking GeoJSON, merge/dedupe predicted polygons, compare image/label/mask mosaics, or validate vector outputs | feature-postprocessing |
After installing RoboSat in an environment, prefer the installed package entry points rather than a source-checkout wrapper:
python -c "import robosat; print('robosat import ok')"
rs --help
python -m robosat.tools --help
python scripts/check_robosat_env.py --check-cli
The bundled check_robosat_env.py checks imports, rtree/libspatialindex, pyproj ESRI CRS lookup, optional torch/CUDA state, and CLI help. Use create_config_templates.py to write CPU-safe dataset/model TOML templates.
Use the sub-skill routes above for concrete commands, APIs, data formats, validation scripts, and troubleshooting.