Deep metric learning using Triplet network