Skip to content

Source code for [ECCV2024]O2V-Mapping: Online Open-Vocabulary Mapping with Neural Implicit Representation

Notifications You must be signed in to change notification settings

Fudan-MAGIC-Lab/O2Vmapping

Repository files navigation

O2Vmapping

Source code for [ECCV2024] O2V-Mapping: Online Open-Vocabulary Mapping with Neural Implicit Representation

                 

Demo for O2Vmapping

⚙️Installation

Step 1. Setup Environment

git clone --recursive https://github.com/Fudan-MAGIC-Lab/O2Vmapping.git

sudo apt-get install libopenexr-dev

cd O2Vmapping
conda env create -f environment.yml
conda activate O2V

Step 2. Setup dependence

Our project relies on SAM and CLIP. Please ensure that both modules are functioning properly before running the code. For specific configuration procedures, please refer to the official repositories of SAM and CLIP. Additionally, we highly recommend using MobileSAM, as it significantly enhances the runtime efficiency of the code.

📂Prepare Data

1. Replica

We recommend that you construct the dataset according to the official guidelines of the Replica dataset. The dataset should be organized as follows:

├──config
├──Datasets
    ├──Replica
      ├──office0
        ├──pose
        ├──results
        ├──traj.txt
        └──transforms.json
   	    ...
      └──office1
    ...
    └──YOURDATA
└──run.py
...

2. Scannet

We recommend that you download the ScanNet dataset following the official guidelines. The dataset should be organized into files in the following format.

├──config
├──Datasets
    ├──scannet
      ├──scannet0707_00
        ├──color
        ├──depth
        ├──intrinsic
        └──pose
   	    ...
      └──scannet0000_00
    ...
    └──YOURDATA
└──run.py
...

3. Your own dataset

For the dataset you have collected yourselves, some additional processing is still required. Please run the following to estimate the scene boundaries. This helps reduce unnecessary spatial overhead and ensures the correct scene boundaries are set.

python bound.py ./config/YOURDATA.yaml --input_folder './YOURDATA/'

🏃Running

After ensuring the above process is correct, you can proceed to run:

python run.py ./config/office0_door.yaml

😊Acknowlegement

This work is accomplished based on other excellent works, and we extend our gratitude for their contributions.

About

Source code for [ECCV2024]O2V-Mapping: Online Open-Vocabulary Mapping with Neural Implicit Representation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages