技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data【数据与研究】Routes PyTorch Metric Learning questions about packaged datasets and sampling workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to download one of the packaged benchmark datasets, define a dataset wrapper, or control batch composition with one of the bundled samplers.
BaseDataset, CUB, Cars196, INaturalist2018, StanfordOnlineProducts.MPerClassSampler, HierarchicalSampler, TuplesToWeightsSampler, FixedSetOfTriplets.EmbeddingDataset when the question is about constructing toy batches or smoke tests.docs/extend/datasets.md.components.training.evaluation.references/datasets-and-samplers.md for the dataset and sampler map.scripts/smoke_data.py when you want to confirm a batch-composition rule on toy labels without downloading a benchmark dataset.references/troubleshooting.md when the failure mentions a missing dataset root, a bad split, or sampler batch-size constraints.training after the sampling choice is clear.evaluation.components.BaseDataset defaults to train+test and supports transform, target_transform, and download.CUB, Cars196, INaturalist2018, and StanfordOnlineProducts all provide train/test/train+test style splits.MPerClassSampler needs enough label structure for the batch size and m.HierarchicalSampler expects hierarchical labels and a true batch_sampler slot.TuplesToWeightsSampler uses a miner and a subset of the dataset to weight the sampling probabilities.FixedSetOfTriplets is useful when the available supervision is already triplet-shaped.references/datasets-and-samplers.md for the dataset and sampler reference.references/troubleshooting.md for download and batch-composition failures.scripts/smoke_data.py for a tiny sampler smoke check.