ToniRV / NeRF-SLAM

NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields. https://arxiv.org/abs/2210.13641 + Sigma-Fusion: Probabilistic Volumetric Fusion for Dense Monocular SLAM https://arxiv.org/abs/2210.01276
BSD 2-Clause "Simplified" License
1.14k stars 139 forks source link

FileNotFoundError: [Errno 2] No such file or directory #60

Open muhammadtarek98 opened 8 months ago

muhammadtarek98 commented 8 months ago

tarek@CPP-Tarek:~/NeRF-SLAM$ python3 ./examples/slam_demo.py --dataset_dir=./replica_sample/office0 --dataset_name=nerf --buffer=100 --slam --parallel_run --img_stride=2 --fusion='nerf' Running with GPUs: 0 Running pipeline in parallel mode. I1015 14:35:50.232981 907612 pipeline_module.py:85] Module: VioSLAM - Spinning. /home/tarek/.local/lib/python3.8/site-packages/torch/amp/autocast_mode.py:198: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling') Traceback (most recent call last): File "./examples/slam_demo.py", line 200, in run(args) File "./examples/slam_demo.py", line 143, in run slam_module.spin() # visualizer should be the main spin, but pytorch has a memory bug/leak if threaded... File "/home/tarek/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "/home/tarek/NeRF-SLAM/./examples/../slam/slam_module.py", line 19, in initialize_module self.slam = VioSLAM(self.name, self.args, self.device) File "/home/tarek/NeRF-SLAM/./examples/../slam/vio_slam.py", line 97, in init self.visual_frontend = RaftVisualFrontend(world_T_imu_t0, imu_T_cam0, args, device=device) File "/home/tarek/NeRF-SLAM/./examples/../slam/visual_frontends/visual_frontend.py", line 101, in init self.body_t0_T_world = gtsam_pose_to_torch(self.world_T_body_t0.inverse(), self.device, torch.float) File "/home/tarek/NeRF-SLAM/./examples/../slam/visual_frontends/visual_frontend.py", line 49, in gtsam_pose_to_torch return torch.tensor([t[0], t[1], t[2], q[1], q[2], q[3], q[0]], device=device, dtype=dtype) File "/home/tarek/.local/lib/python3.8/site-packages/torch/cuda/init.py", line 217, in _lazy_init torch._C._cuda_init() RuntimeError: No CUDA GPUs are available Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/usr/lib/python3.8/multiprocessing/spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) File "/usr/lib/python3.8/multiprocessing/synchronize.py", line 110, in setstate self._semlock = _multiprocessing.SemLock._rebuild(state) FileNotFoundError: [Errno 2] No such file or directory Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/usr/lib/python3.8/multiprocessing/spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) File "/usr/lib/python3.8/multiprocessing/synchronize.py", line 110, in setstate self._semlock = _multiprocessing.SemLock._rebuild(state) FileNotFoundError: [Errno 2] No such file or directory Calling frontend dtor...