writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
fast-reidOperate FastReID setup, configuration, datasets, model/inference APIs, training/evaluation workflows, deployment/export paths, and extension projects for person and vehicle re-identification.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a task involves FastReID (fastreid), person or vehicle
re-identification, Market1501/DukeMTMC/MSMT17/VeRi/VehicleID style datasets,
FastReID YAML configs, ReID feature extraction, rank/mAP/mINP evaluation,
training/eval command construction, ONNX/Caffe/TensorRT export, or FastReID
extension projects.
--repo-root option when
no installed distribution exists.MODEL.DEVICE defaults to cuda; CPU smoke
checks must override it explicitly.python scripts/check_fastreid_environment.py \
--repo-root <FASTREID_REPO> \
--config-file <CONFIG_YAML> \
--device cpu
The helper imports modules and merges config only; it does not train, evaluate, download, or write checkpoints.
| Task signal | Read |
|---|---|
Source-only import, dependencies, Python version, get_cfg, _BASE_, YAML merge, opts, model-zoo recipe/config selection | sub-skills/setup-and-configuration/ |
FASTREID_DATASETS, built-in dataset layouts, custom dataset registration, dataloaders, transforms, samplers, data preflight | sub-skills/data-and-datasets/ |
build_model, backbones/heads/losses/meta-architectures, DefaultPredictor, feature tensors, CPU model smoke, rank import quirks | sub-skills/modeling-and-inference/ |
Training/eval command building, DefaultTrainer, distributed flags, checkpoints/resume, solvers, metrics, logs, custom loops | sub-skills/training-and-evaluation/ |
| ONNX/Caffe/TensorRT export/inference, optional deployment deps, FastRT, project-extension imports/config hooks | sub-skills/deployment-and-projects/ |
references/package-map.md — compact module,
registry, signature, dependency, and route map for this FastReID version.references/troubleshooting.md —
cross-cutting install/import, config, backend, dataset, checkpoint,
inference, deployment, and project-extension failures.references/repo-provenance.md — source
commit, package version, evidence paths, and refresh baseline.references/repo-routing-metadata.json
— structured metadata for managed repo-skills-router import.scripts/check_fastreid_environment.py
— safe import/config/optional-backend probe. Use it before deeper workflow
debugging or before deciding whether CUDA/ONNX/Caffe/TensorRT dependencies
are available.deployment-and-projects before editing configs.