Learning dense image to object correspondences