writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
raster-visionRoutes Raster Vision geospatial computer vision tasks involving rastervision CLI pipelines, GeoTIFF/GeoJSON data configs, PyTorch chip classification, semantic segmentation, object detection, model bundles, AWS runners, Docker, and S3/GDAL filesystems.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves Raster Vision as a library or low-code framework for deep learning on satellite, aerial, or other large geospatial imagery.
Read this skill for requests about:
rastervision run, run_command, predict, or predict_sceneClassConfig, SceneConfig, DatasetConfig, RasterioSourceConfig, GeoJSONVectorSourceConfig, label sources/stores, AOIs, analyzers, evaluators, or model bundlesDo not use this skill for generic computer vision frameworks unless Raster Vision's geospatial pipeline/config/file-system layer is part of the task.
Typical release install:
pip install rastervision
For realistic GPU training or geospatial dependency parity, prefer a Raster Vision PyTorch Docker image. After installation, run the bundled checker:
python scripts/check_rastervision_install.py
Read installation and package map for package splits, optional plugins, GPU notes, and configuration locations. Read repository provenance before deciding whether this skill is stale for a checkout.
| Task | Read |
|---|---|
CLI syntax, config modules, runners, --arg, --splits, run_command, predict, predict_scene, or model-bundle CLI prediction | pipeline-cli |
| Programmatic geospatial APIs: scenes, class configs, raster/vector sources, label sources/stores, AOIs, GeoDataset, Learner, Predictor, ScenePredictor | data-and-models |
| PyTorch chip classification, semantic segmentation, object detection, example recipes, task backends, solvers, backbones, model zoo, transfer learning | pytorch-workflows |
| Docker, AWS Batch, AWS SageMaker, S3, requester-pays/unsigned S3, GDAL VSI, CloudFormation templates, bootstrap setup | cloud-and-filesystems |
Raster Vision can be used in two modes:
get_config(runner, **kwargs) or get_configs(...), then run the pipeline with the rastervision CLI.Standard pipeline stages are analyze, chip, train, predict, eval, and bundle. The final bundle contains model weights plus config needed for later prediction on new imagery.
Before giving operational guidance, identify:
inprocess for debugging, local for host Makefile execution, batch for AWS Batch, or sagemaker for SageMaker.train/, predict/, eval/, bundle/model-bundle.zip, GeoTIFF labels, vector outputs, or JSON metrics.SceneConfig.docker run command without executing Docker.Start with cross-cutting troubleshooting, then drill into the nearest sub-skill:
pipeline-cli/references/troubleshooting.mddata-and-models/references/troubleshooting.mdpytorch-workflows/references/troubleshooting.mdcloud-and-filesystems/references/troubleshooting.md