Official implementation of Continuous 3D Perception Model with Persistent State
Official implementation of Continuous 3D Perception Model with Persistent State
QianqianWang*, Yifei Zhang*, Aleksander Holynski, Alexei A Efros, Angjoo Kanazawa
(*: equal contribution)
git clone https://github.com/CUT3R/CUT3R.git
cd CUT3Rconda create -n cut3r python=3.11 cmake=3.14.0
conda activate cut3r
conda install pytorch torchvision pytorch-cuda=12.1 -c pytorch -c nvidia # use the correct version of cuda for your system
pip install -r requirements.txt
# issues with pytorch dataloader, see https://github.com/pytorch/pytorch/issues/99625
conda install 'llvm-openmp<16'
# for training logging
pip install git+https://github.com/nerfstudio-project/gsplat.git
# for evaluation
pip install evo
pip install open3dcd src/croco/models/curope/
python setup.py build_ext --inplace
cd ../../../../We currently provide checkpoints on Google Drive:
| Modelname | Training resolutions | #Views | Head |
|---|---|---|---|
cut3r_224_linear_4.pth |
224x224 | 16 | Linear |
cut3r_512_dpt_4_64.pth |
512x384, 512x336, 512x288, 512x256, 512x160, 384x512, 336x512, 288x512, 256x512, 160x512 | 4-64 | DPT |
cut3r_224_linear_4.pthis our intermediate checkpoint andcut3r_512_dpt_4_64.pthis our final checkpoint.
To download the weights, run the following commands:
cd src
# for 224 linear ckpt
gdown --fuzzy https://drive.google.com/file/d/11dAgFkWHpaOHsR6iuitlB_v4NFFBrWjy/view?usp=drive_link
# for 512 dpt ckpt
gdown --fuzzy https://drive.google.com/file/d/1Asz-ZB3FfpzZYwunhQvNPZEUA8XUNAYD/view?usp=drive_link
cd ..To run the inference code, you can use the following command:
…Output results will be saved to output_dir.
Currently, we accelerate the feedforward process by processing inputs in parallel within the encoder, which results in linear memory consumption as the number of frames increases.
Our training data includes 32 datasets listed below. We provide processing scripts for all of them. Please download the datasets from their official sources, and refer to preprocess.md for processing scripts and more information about the datasets.
Please follow MonST3R and Spann3R to prepare Sintel, Bonn, KITTI, NYU-v2, TUM-dynamics, ScanNet, 7scenes and Neural-RGBD datasets.
The datasets should be organized as follows:
data/
├── 7scenes
├── bonn
├── kitti
├── neural_rgbd
├── nyu-v2
├── scannetv2
├── sintel
└── tumPlease refer to the eval.md for more details.
Please refer to the train.md for more details.
Our code is based on the following awesome repositories:
We thank the authors for releasing their code!
If you find our work useful, please cite:
@article{wang2025continuous,
title={Continuous 3D Perception Model with Persistent State},
author={Wang, Qianqian and Zhang, Yifei and Holynski, Aleksander and Efros, Alexei A and Kanazawa, Angjoo},
journal={arXiv preprint arXiv:2501.12387},
year={2025}
}No open issues yet, or sync has not completed.