Vehicle Re-identification with Viewpoint-aware Metric Learning 读书笔记
Author
Ruihang Chu, Yifan Sun
Conference
ICCV 2019
Motivation
- 对输入的图片用网络判断视角,对于不同视角的车辆,用不同的网络提取特征,计算样本间距离。
Contribution
- 提出一种新颖的viewpoint-aware metric learning approach
- 针对相同视角样本对和不同视角样本对提出空间内约束和跨空间约束
Framework
训练阶段
- 对view predictor单独训练,在正式训练和测试的时候,固定view predictor的参数。
- 上面的S-view branch计算相同视角图片的距离,具体为相同视角正样本对的距离和相同视角负样本对的距离,用Triplet Loss Function做约束,要求在相同视角下负样本相对于正样本到anchor的距离大于阈值,损失函数为
- 下面的D-view branch计算不同视角图片的距离,具体为不同视角正样本对的距离和相同视角负样本对的距离,用Triplet Loss Function做约束,要求在不同视角下负样本相对于正样本到anchor的距离大于阈值,损失函数为
- 在integrated distance matrix中,用跨域的Triplet Loss Function做约束,要求在相同视角下的负样本相对于不同视角下的正样本到anchor的距离大于阈值,损失函数为
- 最终的损失函数为
测试阶段
测试时先将query和gallery输入到view predictor中预测视角,如果是相同视角的话,就用S-view branch计算距离,如果是不同视角的话,就用D-view branch计算距离。