Hi, I tried using your model. How did you compare distance between two feature vectors (1*128)? I tried following methods but failed. diff = np.subtract(f1, f2) dist = np.sum(np.square(diff), 1) dist = np.linalg.norm(diff, axis=1)