技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-evaluation【数据与研究】Prepare CLAM dataset CSVs and splits, train CLAM or MIL models, evaluate checkpoints, and diagnose task/model/data mismatches.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user needs to turn extracted CLAM feature bags into train/validation/test splits, train CLAM_SB, CLAM_MB, or MIL baselines, evaluate checkpoints, or debug task/model/data mismatches.
../wsi-preprocessing/SKILL.md.pt_files/ creation, use ../feature-extraction/SKILL.md.../heatmap-visualization/SKILL.md.main.py training, eval.py checkpoint evaluation, model constructor choices, and metrics outputs.case_id, slide_id, and the selected label column; slide_id must match feature file basenames.DATA_ROOT_DIR/<dataset_feature_dir>/pt_files/<slide_id>.pt and that --embed_dim matches the encoder used upstream.splits_<fold>.csv files with train, val, and test columns before training.main.py, matching --task, --model_type, --subtyping, loss flags, fold range, and split directory.eval.py, matching the checkpoint directory, model flags, task branch, fold range, split files, and feature dimension.references/data-formats.md when preparing dataset CSVs, feature folder layouts, label dictionaries, or split files.references/training-reference.md when assembling a main.py command or explaining training outputs.references/evaluation-reference.md when evaluating checkpoints or independent cohorts with eval.py.references/model-api.md when selecting CLAM_SB, CLAM_MB, MIL_fc, MIL_fc_mc, dataset classes, losses, or embed_dim values.references/troubleshooting.md when diagnosing missing columns, label mismatches, split paths, --subtyping assertions, SVM loss imports, or checkpoint shape errors.scripts/clam_split_recipe.py to validate a CLAM dataset CSV and render a safe create_splits_seq.py command without creating split files by default.scripts/clam_train_eval_command_builder.py to render safe main.py or eval.py commands, check task/model/embed-dimension consistency, and preview output paths without training or loading checkpoints..pt bags, valid checkpoints, and optional packages such as smooth-topk; bundled helpers only validate inputs and build commands.