https://medium.com/@monocosmo77/applications-of-deep-metric-learning-part4-machine-learning-a6dcb306e50b