metric learn : still have errors