issues
search
junxnone
/
aiwiki
AI Wiki
https://junxnone.github.io/aiwiki
18
stars
2
forks
source link
ML Tasks Image Anomaly PaDiM
#322
Open
junxnone
opened
1 year ago
junxnone
commented
1 year ago
PaDiM
嵌入提取
使用预训练的 CNN 网络生成 Image Embedding
提取中间层feature 组成嵌入向量
使用随机选择来降低维数,去除冗余信息
正常类的学习 - 构建正常类特征
对训练集中正常图片相应的
patch
建模高斯分布, 作为正常特征
计算
Anomaly Map
- 待测试图片与正常类特征计算相似度
对待测试图片计算特征向量,根据
Mahalanobis Distance
马氏距离计算
相应patch
的异常分数
Arch
Reference
PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization
PaDiM
patch
建模高斯分布, 作为正常特征Anomaly Map
- 待测试图片与正常类特征计算相似度Mahalanobis Distance
马氏距离计算相应patch
的异常分数Arch
Reference