技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-and-datasets【数据与研究】Operate FastReID dataset registries, built-in layouts, custom dataset classes, dataloaders, transforms, samplers, and safe data preflight checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a FastReID task involves dataset roots, FASTREID_DATASETS, built-in dataset names, custom dataset registration, ImageDataset/CommDataset tuple shape, train/test dataloader APIs, transforms, samplers, or preflight checks before training/evaluation.
Market1501, DukeMTMC, MSMT17, VeRi, VehicleID, SmallVehicleID, VeRiWild, or SmallVeRiWild.FASTREID_DATASETS if set, otherwise a relative datasets directory from the process working directory.python sub-skills/data-and-datasets/scripts/validate_dataset_layout.py --root <datasets-root> --dataset Market1501
references/dataset-formats.md: use for built-in dataset names, expected directory/list-file layouts, file-name parsing rules, and the canonical (img_path, pid, camid) item schema.references/data-api.md: use for DATASET_REGISTRY, ImageDataset, CommDataset, build_reid_train_loader, build_reid_test_loader, transform options, sampler choices, and custom dataset registration patterns.references/troubleshooting.md: use when FastReID cannot find datasets, parses pid/camid incorrectly, query/gallery is empty, samplers fail because of batch settings, or old dataset tests/imports conflict with this API.scripts/validate_dataset_layout.py: safe no-download validator for selected built-in layout roots; run it before expensive train/eval commands or when diagnosing partial dataset trees.../training-and-evaluation/.../modeling-and-inference/.../setup-and-configuration/.../deployment-and-projects/; use this sub-skill only for the shared registry/layout mechanics they rely on.FASTREID_DATASETS defaults to datasets when the environment variable is unset.(img_path, pid, camid). Training built-ins usually prefix training pid/camid with a dataset name string before CommDataset(..., relabel=True) maps them to contiguous integers.Market1501, DukeMTMC, MSMT17, CUHK03, VIPeR, GRID, iLIDS, etc.) and vehicle ReID datasets (VeRi, VehicleID, SmallVehicleID, MediumVehicleID, LargeVehicleID, VeRiWild, SmallVeRiWild, MediumVeRiWild, LargeVeRiWild).build_reid_train_loader(train_set, *, sampler=None, total_batch_size, num_workers=0) and build_reid_test_loader(test_set, test_batch_size, num_query, num_workers=4); the config system also permits calls such as build_reid_train_loader(cfg, combineall=...) and build_reid_test_loader(cfg, dataset_name=...).