小样本:20 张图也能训

小样本:20 张图也能训

检测与决策 Elective 10 hours · B 级文献量级
20 张 → 迁移后 88%
Why this chapter

产线上一种新缺陷只攒到 20 张图,从零训练必然过拟合。冻结骨干、只训最后几层,或者用提示式分割——少量样本也能得到可用的边界。

Tools

PyTorch · SAM

Deliverable

小样本基线对比 + 数据增强消融

Key numbers
每类样本20 张(示意)
从零训练准确率 ≈55%
迁移 / 提示≈88%(示意)
Related papers
U-Net:少样本图像分割的基线 · Ronneberger, Fischer, Brox · 2015 Segment Anything:可提示分割的通用底座 · Kirillov et al. · 2023
The chapter body is for enrolled learners. The outline above is public: see what the chapter solves before deciding to register.