Skip to content

EPRecon: An Efficient Framework for Real-Time Panoptic 3D Reconstruction from Monocular Video

License

Notifications You must be signed in to change notification settings

zhen6618/EPRecon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPRecon: An Efficient Framework for Real-Time Panoptic 3D Reconstruction from Monocular Video

Alt Text

Installation

conda create -n EPRecon python=3.9
conda activate EPRecon

conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.7 -c pytorch -c nvidia

sudo apt-get install libsparsehash-dev
git clone -b v2.0.0 https://github.com/mit-han-lab/torchsparse.git
cd torchsparse
pip install tqdm
pip install .

git clone https://github.com/zhen6618/EPRecon.git
cd EPRecon

pip install -r requirements.txt
pip install sparsehash
pip install -U openmim
mim install mmcv-full

Dataset

Download and extract ScanNet by following the instructions provided at http://www.scan-net.org/. Expected directory structure of ScanNet can refer to NeuralRecon

For Geometry Reconstruction:

# training/val split
python tools/tsdf_fusion/generate_gt.py --data_path datasets/scannet/ --save_name all_tsdf_9 --window_size 9
# test split
python tools/tsdf_fusion/generate_gt.py --test --data_path datasets/scannet/ --save_name all_tsdf_9 --window_size 9

For Panoptic Reconstruction:

python datasets/scannet/batch_load_scannet_data.py
python datasets/scannet/label_interpolate.py

Training

python main.py --cfg ./config/train.yaml

Testing

python main.py --cfg ./config/test.yaml

Generate Results for Evaluation

python tools/generate_semantic_instance.py

Citation

Coming soon...

About

EPRecon: An Efficient Framework for Real-Time Panoptic 3D Reconstruction from Monocular Video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages