Hi Egor,
I'd be grateful to know some details about your changes to the script and how they relate to Denislaq's original issue (error message)?
@ DenisIaq: I may be stating the obvious, but the export images part of the script undistorts the images, so that for Gaussian Splatting the OpenCV PINHOLE convention with zero distortions can be used (-> cameras.bin). So if the original images were distorted, using them with this script will produce subpar results.
Thanks, Guy