SLC2-SLAM: Semantic-guided Loop Closure using Shared Latent Code for NeRF SLAM
Yuhang Ming, Di Ma, Weichen Dai, Han Yang, Rui Fan, Guofeng Zhang, Wanzeng Kong
RA-L 2025
This repository contains the code for the paper SLC2-SLAM: Semantic-guided Loop Closure using Shared Latent Code for NeRF SLAM.
# conda environment
conda create -n slcslam python=3.9
conda activate slcslam
# pytorch environment (Please check the cuda version)
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2
You can run SLC2-SLAM using the code below:
python slcslam.py --config './configs/ScanNet/scene0000.yaml'Here, the ScanNet dataset is used as an example; other datasets can be run with similar code.
Our tracking and reconstruction refer to the code provided by Co-SLAM.
We adapt codes from some awesome repositories, including Co-SLAM,PyPose. Thanks for making the code available
If you find our code or paper useful for your research, please consider citing:
@ARTICLE{10935649,
author={Ming, Yuhang and Ma, Di and Dai, Weichen and Yang, Han and Fan, Rui and Zhang, Guofeng and Kong, Wanzeng},
journal={IEEE Robotics and Automation Letters},
title={SLC$^{2}$-SLAM: Semantic-Guided Loop Closure Using Shared Latent Code for NeRF SLAM},
year={2025},
pages={1-8},
keywords={Simultaneous localization and mapping;Neural radiance field;Codes;Tracking loops;Semantics;Feature extraction;Encoding;Optimization;Artificial intelligence;Accuracy;SLAM;Loop Detection;Localization;Semantic Scene Understanding},
doi={10.1109/LRA.2025.3553352}}

