Domain adaptation for semantic and 3D tasks