cvg / limap

A toolbox for mapping and localization with line features.
BSD 3-Clause "New" or "Revised" License
691 stars 68 forks source link

RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. #70

Open jiangyijin opened 6 months ago

jiangyijin commented 6 months ago

Hello, I used two RTX 4090 graphics cards. when I run python runners/hypersim/triangulation.py --output_dir outputs/quickstart_triangulation, I encountered the following error: Extracting colors

Computing visual neighbors... (n_neighbors = 20) [LOG] Start 2D line detection and description (detector = deeplsd, extractor = wireframe, n_images = 98)... 100% | | 98/98 [00:32<00:00, 3.05it/s] Loaded SuperPoint model 100% | |98/98 [00:02<00:00, 32.92it/s] [LOG] Start matching 2D lines... (extractor = wireframe, matcher = gluestick, n_images = 98, n_neighbors = 20) Loaded SuperPoint model 0%| | 0/98 [00:00<?, ?it/s]../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [96,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed. ../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [98,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed. ../aten/src/ATen/native/cuda/ScatterGatherKernel.cu:144: operator(): block: [2,0,0], thread: [100,0,0] Assertion idx_dim >= 0 && idx_dim < index_size && "index out of bounds" failed.

RuntimeError: CUDA error: device-side assert triggered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

0%| | 0/98 [00:00<?, ?it/s]