Email (record): Contrastive learning method for leak detection in water distribution networks