https://medium.com/@monocosmo77/applications-of-deep-metric-learning-part3-machine-learning-c18600e06e59