技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
classification【数据与研究】Image classification workflows for InternImage backbones: data layouts, configs, train/eval/throughput, DeepSpeed/Accelerate, feature extraction, Hugging Face, and export routing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user is working with InternImage image classification: ImageNet or iNaturalist data layout, model/config selection, evaluation, training, throughput checks, DeepSpeed or Accelerate launch planning, intermediate feature extraction, or Hugging Face Transformers inference/conversion.
eval, train, throughput, extract features, Transformers), InternImage checkout location, config label, checkpoint or pretrained weight, data root, GPU count, launcher style, output directory, and any YACS overrides.python scripts/build_classification_command.py --helpreferences/workflows.md.references/configuration.md.trust_remote_code usage, and conversion notes in references/huggingface.md.references/troubleshooting.md before recommending a rerun.# Build a one-GPU ImageNet evaluation template.
python scripts/build_classification_command.py \
--mode eval \
--config configs/internimage_b_1k_224.yaml \
--checkpoint CHANGE_ME/internimage_b_1k_224.pth \
--data-path CHANGE_ME/imagenet \
--gpus 1
# Build an intermediate-feature extraction template.
python scripts/build_classification_command.py \
--mode extract-features \
--config configs/internimage_t_1k_224.yaml \
--checkpoint CHANGE_ME/internimage_t_1k_224.pth \
--image CHANGE_ME/image.png \
--keys patch_embed levels.0.downsample \
--save-features
# Build a Hugging Face Transformers inference template.
python scripts/build_classification_command.py \
--mode hf-transformers \
--hf-model OpenGVLab/internimage_t_1k_224 \
--hf-task both \
--image CHANGE_ME/image.png