udaysankar01 / xfeatSLAM

Real-time SLAM with deep features (XFeat + ORB-SLAM3)
GNU General Public License v3.0
32 stars 4 forks source link

Could you please tell me how to enable GPU acceleration during runtime? #5

Open aboluo opened 1 week ago

aboluo commented 1 week ago

As for the title, I want to run it on a GPU, but it's actually running on the CPU, causing the CPU to become fully loaded and freeze, resulting in lost tracking.

udaysankar01 commented 1 week ago

Assuming your libtorch installation was successful, it must have something to do with your CUDA installation. Do you have NVIDIA CUDA ToolKit installed? I have the version v12.2 if you want to try that.

Ideally, when you run xfeatSLAM, it should show this:

xfeatSLAM cuda