https://medium.com/@monocosmo77/applications-of-deep-metric-learning-part2-machine-learning-c444e7df6c05