LoopSplat icon indicating copy to clipboard operation
LoopSplat copied to clipboard

Core Dumped error on run

Open Anniebhalla16 opened this issue 1 year ago • 5 comments

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/

Image

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

Anniebhalla16 avatar Apr 03 '25 07:04 Anniebhalla16

Are you running it on Windows/Linux? What GPU are you using? Possible reasons:

  1. The pytorch/cuda version of your system is different from our recommended ones.
  2. 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.

Zhu-Liyuan avatar Apr 03 '25 14:04 Zhu-Liyuan

I am running the code on Linux.
Here are my GPU details.

Image

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

Anniebhalla16 avatar Apr 04 '25 08:04 Anniebhalla16

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

Anniebhalla16 avatar Apr 04 '25 12:04 Anniebhalla16

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.

Zhu-Liyuan avatar Apr 04 '25 16:04 Zhu-Liyuan

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

Image

Why does this happen?

Anniebhalla16 avatar Apr 30 '25 09:04 Anniebhalla16