计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
prediction-and-explanation【效率与协作】Run Nitrain prediction workflows and inspect the current OcclusionExplainer surface.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user wants to run dataset-level prediction with
Predictor, reconstruct slice-based outputs back into ANTs images, or inspect
what OcclusionExplainer does in the current release.
Predictor and its sampler-driven inference path.OcclusionExplainer API surface and its limitations.sub-skills/datasets-readers/.sub-skills/preprocessing-and-loading/.sub-skills/models-training/.After installing dependencies, run the bundled helper scripts/check_install.py:
python scripts/check_install.py --mode predictor
Use this when you want to confirm the prediction path before you hand off to a larger workflow.
Predictor(model, task, sampler=None, expand_dims=-1) stores the model, task,
sampler, and expansion axis.Predictor.predict(dataset) loops over dataset records, applies the sampler,
runs the model, and then normalizes the outputs by task.expand_dims=None disables extra dimension expansion.SliceSampler output is rolled back into the original axis position during
prediction when the sampler type is recognized.uint8 in the current
implementation.expand_dims setting is
usually the first thing to inspect.OcclusionExplainer.fit() is a placeholder in this snapshot and currently
returns 1.If the request grows into actual saliency, heatmap, or attribution logic, note that the current explainer surface is incomplete and do not promise more than what the source code provides.