Representation learning and image synthesis for deep face recognition