Weakly Supervised Learning of Dense SemanticCorrespondences and Segmentation