Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error occurs when running the demo #48

Open
Hezhexi2002 opened this issue Apr 26, 2023 · 3 comments
Open

error occurs when running the demo #48

Hezhexi2002 opened this issue Apr 26, 2023 · 3 comments

Comments

@Hezhexi2002
Copy link

@jrpowers Hi,I was struggled into a wired error seems related to gtsam when I run the python ./examples/slam_demo.py --dataset_dir=./datasets/Replica/office0 --dataset_name=nerf --buffer=100 --slam --parallel_run --img_stride=2 --fusion='nerf' --multi_gpu --gui demo
the output is shown below:
Running with GPUs: 0,1 Running pipeline in parallel mode. I0426 09:02:16.037792 545854 pipeline_module.py:85] Module: VioSLAM - Spinning. Traceback (most recent call last): File "./examples/slam_demo.py", line 202, in <module> run(args) File "./examples/slam_demo.py", line 145, in run slam_module.spin() # visualizer should be the main spin, but pytorch has a memory bug/leak if threaded... File "/home/user/high_speed_data/yangshurong/nerf_work/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "/home/user/high_speed_data/yangshurong/nerf_work/NeRF-SLAM/./examples/../slam/slam_module.py", line 18, in initialize_module from slam.vio_slam import VioSLAM File "/home/user/high_speed_data/yangshurong/nerf_work/NeRF-SLAM/./examples/../slam/vio_slam.py", line 9, in <module> from factor_graph.factor_graph import TorchFactorGraph File "/home/user/high_speed_data/yangshurong/nerf_work/NeRF-SLAM/./examples/../factor_graph/factor_graph.py", line 14, in <module> from gtsam import NonlinearFactorGraph as FactorGraph File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/site-packages/gtsam/__init__.py", line 7, in <module> from gtsam import gtsam, utils ImportError: /home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/site-packages/gtsam/gtsam.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN5gtsam25HybridGaussianFactorGraph3addEN5boost10shared_ptrINS_14JacobianFactorEEE Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/multiprocessing/spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) File "/home/user/.conda/envs/ai/envs/nerfstudio/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 "<string>", line 1, in <module> File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/multiprocessing/spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) File "/home/user/.conda/envs/ai/envs/nerfstudio/lib/python3.8/multiprocessing/synchronize.py", line 110, in __setstate__ self._semlock = _multiprocessing.SemLock._rebuild(*state) FileNotFoundError: [Errno 2] No such file or directory
I have noticed that there are some similar problems in the issues like 21 and 46,I solved the gtsam build problem according to 21 but still can't get rid of the error I mentioned above,so could you please give me some instructions about the error?looking forward to your reply:-)

@yanfeng-tang
Copy link

I have the same problem, have you solve this problem?

@Hezhexi2002
Copy link
Author

Hezhexi2002 commented Aug 31, 2023

I have the same problem, have you solve this problem?

I'm sorry, but I am no longer working on this project. If you discover a solution later on, I would be interested in giving it another attempt.

@qungvinh1280
Copy link

Please perform the steps according to this repo: "https://github.com/jrpowers/NeRF-SLAM/tree/master" and it will solve all problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants