Open bycloudai opened 2 years ago
I have no idea (I don't have a windows computer to compare with) but my instinct is to try adding 'rb' to the line where you open the problematic file, if that isn't already specified.
@jonbarron unfortunately it is already satisfied...
Oh too bad. Sounds like it might be related to a difference between Windows and Linux filesystems? I don't really know.
Ya it seems to work just by adjusting the f.read(8)
to f.read(4)
, I should've figured that out myself hahaha
That worked as a solution but was caught with another one
File "F:\MultiNeRF\multinerf\internal\datasets.py", line 584, in _load_renderings
pose_data = NeRFSceneManager(colmap_dir).process()
File "F:\MultiNeRF\multinerf\internal\datasets.py", line 78, in process
self.load_images()
File "F:\MultiNeRF\multinerf\internal/pycolmap/pycolmap\scene_manager.py", line 131, in load_images
self._load_images_bin(input_file)
File "F:\MultiNeRF\multinerf\internal/pycolmap/pycolmap\scene_manager.py", line 162, in _load_images_bin
points_array.fromfile(f, 3 * num_points2D)
OverflowError: Python int too large to convert to C ssize_t
any help would be appreciated!
updates?
I've also hit this issue. Any update?
I have the same issue
File "C:\Users\intel\Documents\05_3DGS\gsplat\examples\datasets\colmap.py", line 50, in __init__
manager.load_cameras()
File "C:\Users\intel\AppData\Roaming\Python\Python311\site-packages\pycolmap\scene_manager.py", line 90, in load_cameras
self._load_cameras_bin(input_file)
File "C:\Users\intel\AppData\Roaming\Python\Python311\site-packages\pycolmap\scene_manager.py", line 102, in _load_cameras_bin
num_cameras = struct.unpack('L', f.read(8))[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 4 bytes
and when I try to set the f.read(8)
to f.read(4)
i have a new error
File "C:\Users\intel\Documents\05_3DGS\gsplat\examples\datasets\colmap.py", line 50, in __init__
manager.load_cameras()
File "C:\Users\intel\AppData\Roaming\Python\Python311\site-packages\pycolmap\scene_manager.py", line 90, in load_cameras
self._load_cameras_bin(input_file)
File "C:\Users\intel\AppData\Roaming\Python\Python311\site-packages\pycolmap\scene_manager.py", line 105, in _load_cameras_bin
camera_id, camera_type, w, h = struct.unpack('IiLL', f.read(24))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 16 bytes
datasets
Hi I have the same problem, have you been able to solve it?
datasets
Hi I have the same problem, have you been able to solve it?
I didn't encounter this issue when deploying the project on Linux, but I did encounter it on Windows. Try modifying it to ### struct.unpack('IiLL', f.read(16))
Hi, thank you so much for sharing this amazing work to everyone! I am currently testing if MultiNeRF is possible to run on Windows machine, and right now with this command:
I would run into this error:
Please let me know if you know any solutions for this error! Any help would be appreciated.
Currently my Jax is 0.13.4 and the Jaxlib is 0.13.4 too Running on CUDA11.1 with python 3.9