计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
image-architectures【效率与协作】Routes vit-pytorch 2D image classification backbones, architecture-family selection, constructor shape constraints, and image-only variant troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants a vit-pytorch model that consumes a regular image tensor shaped (batch, channels, height, width) and returns classification logits, or when they need to choose among the 2D architecture zoo.
ViT, SimpleViT, DeepViT, CaiT, T2TViT, and CCT.CrossViT, PiT, LeViT, CvT, TwinsSVT, RegionViT, CrossFormer, ScalableViT, SepViT, MaxViT, NesT, MobileViT, XCiT, JetViT, and ViT-5.simple_flash_attn_vit as a PyTorch SDPA-backed image classifier.32x32 or 64x64 tensors, repairing image_size / patch_size divisibility errors, choosing pool='cls' vs pool='mean', and keeping README-style examples small enough for CPU smoke checks.ViViT: route to variable-shapes-video.pretraining-and-adaptation.introspection-and-customization.ViT / SimpleViT / CCT for baselines, use hierarchical families only when the user needs local windows, convolutional stems, mobile efficiency, or multi-scale structure.32x32 or 64x64 tests, use dimensions like dim=32, depth=1, heads=2, dim_head=16, mlp_dim=64, and small num_classes; do not copy large README dimensions unless the user is explicitly benchmarking.image_size and patch_size must divide exactly for patch-based families; many hierarchical/window families also require input feature-map sizes divisible by their window or stage settings.num_classes. In base ViT-style classes, pool='cls' and pool='mean' are the valid pooling choices when that argument exists; many SimpleViT-style and hierarchical classes hard-code mean/global pooling and do not accept pool.python scripts/smoke_image_architectures.py --case quick. It uses reduced random tensors, asserts logits shapes, and never downloads data.