NeRF and Gaussian Splatting SLAM in the Wild