计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
models-and-weights【效率与协作】Select, construct, configure, inspect, and troubleshoot TorchVision models, pretrained weights, weight transforms, and feature extraction.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks an agent to choose or instantiate a TorchVision model, handle pretrained weights safely, inspect available model/weight APIs, get the correct inference preprocessing, interpret model-family outputs, or extract intermediate features.
torchvision.models builders and task subpackages: classification, detection, segmentation, video, quantization, optical flow, and feature extraction.list_models, get_model, get_model_builder, get_model_weights, and get_weight.WeightsEnum objects, DEFAULT aliases, weights.transforms(), weights.meta, download/cache behavior, and no-network test patterns.torchvision.models.feature_extraction node listing and create_feature_extractor routing for ResNet/FPN-style backbones.../transforms-and-tv-tensors/.../datasets-io-utils/.torchvision.ops box/NMS/ROI APIs and custom op diagnostics, use ../ops-and-detection/.../training-references/.references/model-selection.md.references/weights-and-inference.md.references/feature-extraction.md.references/troubleshooting.md.python scripts/inspect_models.py --help, then python scripts/inspect_models.py list --include 'resnet*' or python scripts/inspect_models.py weights resnet50.Prefer weights=None in tests, examples, and smoke checks unless the user explicitly requests pretrained weights and accepts network/cache behavior. Inspect weight metadata and preprocessing with get_model_weights() or get_weight() before constructing a pretrained model. Call model.eval() for inference and use weights.transforms() for preprocessing whenever weights are used.