技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-evaluation【数据与研究】Train, evaluate, configure, and inspect Torchreid data workflows for person re-identification.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for Torchreid image/video ReID training, checkpoint evaluation, dataset/data-manager setup, YACS-style config edits, sampler/optimizer/lr-scheduler choices, mean/std analysis, or split-log parsing. It covers Torchreid 1.4.0 (torchreid distribution/import) and the unified scripts/main.py-style workflow in a self-contained form.
ImageDataManager, VideoDataManager, Engine.run, ImageSoftmaxEngine, ImageTripletEngine, VideoSoftmaxEngine, VideoTripletEngine usage.model.load_weights, test.evaluate, data.save_dir, sampler.train_sampler, train.lr_scheduler, cuhk03.classic_split.compute_mean_std, and parse_test_res-style log analysis.FeatureExtractor, model-key catalogs, raw distance matrices, CMC/mAP API internals, re-ranking details, model complexity, activation maps, or ranked visualization internals: use ../feature-extraction/SKILL.md.../model-export/SKILL.md.These scripts are safe by default: --help never imports heavy packages, and no helper runs training by default.
--compute is explicitly supplied.test.log* files and reports missing or incomplete logs clearly.From this sub-skill directory, future agents can run:
python scripts/torchreid_train_eval.py --help
python scripts/torchreid_train_eval.py --template im_osnet_x1_0_softmax_256x128_amsgrad_cosine --mode eval --root /path/to/reid-data --weights /path/to/model.pth.tar --visrank --save-dir log/eval_osnet --dry-run
python scripts/compute_mean_std.py --help
python scripts/compute_mean_std.py /path/to/reid-data market1501 --check-only
python scripts/parse_test_results.py --help
Only run actual training/evaluation/mean-std computation after the user provides local datasets, checkpoint paths when needed, and compute/backend approval.