计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
models-and-transforms【效率与协作】Use for TorchGeo model registry, pretrained weights, model builders, timm/SMP integration, and spectral/SAR/color/spatial/temporal transforms.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for pre-trained geospatial models, weight enums, model registry queries, transform composition, spectral indices, and optional model dependency troubleshooting.
torchgeo.models.api registers named model builders and weights. Core helpers:
list_models() returns registered model names.get_model(name, *args, **kwargs) instantiates a registered model builder.get_model_weights(name_or_builder) returns the WeightsEnum class associated with a model.get_weight(full_enum_string) returns one concrete weight enum value by its string representation.Registered families at the distilled commit include Aurora, CopernicusFM, CROMA, DEO, DOFA, EarthLoc, OlmoEarth, Panopticon, Presto, ResNet, SatCLIP, ScaleMAE, Swin, Tessera, TileNet, UNet, and ViT variants.
weights=None for construction-only smoke tests.get_state_dict; check network/cache policy first.microsoft-aurora, olmoearth-pretrain-minimal, or other upstream packages). Guard optional imports with clear user guidance.torchgeo.transforms.indices appends spectral indices such as NDVI, NBR, NDBI, NDSI, NDWI, MNDWI, and related normalized-difference features.on_after_batch_transfer through datamodule augmentation fields.