Generalizable Pose Estimation Using Implicit Scene Representations