Detection and Weak Segmentation of Masses in Gray-Scale Breast Mammogram Images Using Deep Learning