计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
imagenet_c_corruption_metrics【效率与协作】Compute ImageNet-C CE, mCE, relative CE, and relative mCE from clean and corrupted top-1 error tables.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when evaluating corruption robustness from top-1 error rates indexed by corruption type and severity. Use it for ImageNet-C or reduced experiments that preserve the same normalization equations. Do not use it for ImageNet-P perturbation stability metrics.
{corruption: {severity: top1_error}}.100.0.ce_by_corruption.mce.relative_ce_by_corruption.relative_mce.scale * model_sum / baseline_sum.Run:
python tests/test_corruption_metrics.py
The script assumes error rates are already computed from predictions and labels. It does not run an image classifier.