I had to change `ret["inliers"]` to `ret["inlier_mask"]` in several places as well as change `pose = pycolmap.Image(cam_from_world=ret['cam_from_world'])` to `pose=ret['cam_from_world']`