Core Dumped error on run
Hi,
I am reopening this issue regarding core dumped error on running code. I am providing the following information asked here
This is the command I used.
python run_slam.py configs/TUM_RGBD/rgbd_dataset_freiburg1_room.yaml --input_path scripts/data/TUM_RGBD-SLAM/rgbd_dataset_freiburg1_room --output_path output/
Cuda version: 12.4 Torch Version: 2.5.1 System specs:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Vendor ID: GenuineIntel
Model name: 13th Gen Intel(R) Core(TM) i9-13900K
CPU family: 6
Model: 183
Thread(s) per core: 2
Core(s) per socket: 24
Socket(s): 1
Stepping: 1
CPU max MHz: 5800.0000
CPU min MHz: 800.0000
Thanks in Advance Best Annie
Are you running it on Windows/Linux? What GPU are you using? Possible reasons:
- The pytorch/cuda version of your system is different from our recommended ones.
- Your GPU might have run out of memory, which could lead to core dump.
Can you try re-installing the virtual environment, making sure the version of libraries match ours? Also verify the faiss installation works on your computer.
I am running the code on Linux.
Here are my GPU details.
I corrected the version to pytorch 2.1.2+cu121
After re-installing the virtual environment with correct versions. I get following error AttributeError: module 'faiss' has no attribute 'index_cpu_to_gpu'. Did you mean: 'index_cpu_to_all_gpus'?
I have faiss 1.8.0 py310cuda118hce52afa_2_cuda conda-forge faiss-gpu 1.8.0 h0240f8b_2 conda-forge libfaiss 1.8.0 cuda118hf323835_2_cuda conda-forge
After installing faiss-gpu like this pip install faiss-gpu-cu12 I am able to run the code. However I have faiss-gpu latest version 1.10.0 .
Thanks for the help :D
Great you solved the problem! It seemed there was a mismatch on cuda versions between your system cuda and faiss you installed before.
Issue resolved.
Hi again,
The loop_splat pipeline was running perfectly fine.
However, days later when I go back tot he code and run the same command
python run_slam.py configs/TUM_RGBD/rgbd_dataset_freiburg1_room.yaml --input_path scripts/data/TUM_RGBD-SLAM/rgbd_dataset_freiburg1_room --output_path output/
I get the following error
Why does this happen?