需先手动下载 scal3r.pt 和 dino_salad.ckpt 两个权重到 data/checkpoints/,否则无法运行;安装脚本依赖 conda 并默认使用 uv pip,环境不满足时需回退 pip;当前仅发布推理代码,评测与数据集准备脚本尚未公开
Scal3R
zju3dv活跃维护面向大规模场景的可扩展测试时训练 3D 重建方案,通过在线自适应提升深度估计与重建精度,适合处理超长序列和大范围场景。
[CVPR 2026 (Highlight)] Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstruction
bash scripts/install.sh
mkdir -p data/checkpoints && hf download xbillowy/Scal3R scal3r.pt --repo-type model --local-dir data/checkpoints
python -m scal3r.run --input_dir /path/to/imagesREADME 未说明具体显存与 GPU 型号要求,仅提示 PyTorch/CUDA 配置见 docs/install.md
用测试时训练做大规模三维重建的推理工具,输入图片文件夹即可输出相机位姿与点云
面向大规模场景的可扩展测试时训练 3D 重建方案,通过在线自适应提升深度估计与重建精度,适合处理超长序列和大范围场景。
核心能力
- 用分块与重叠策略支持长序列大规模重建
- 推理时在线测试时训练适配场景
- 导出深度图与点云,可选开关控制
- 输出相机位姿矩阵及 EasyVolcap 格式参数
- 支持批次与输出卸载到磁盘以省内存
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
CVPR 2026 Highlight
Tao Xie1,2, Peishan Yang1, Yudong Jin1, Yingfeng Cai2, Wei Yin2, Weiqiang Ren2, Qian Zhang2, Wei Hua3, Sida Peng1, Xiaoyang Guo2†, Xiaowei Zhou1†
News
- 2026-04-23: Release point cloud and camera pose visualization tools.
- 2026-04-17: Inference acceleration is enabled.
- 2026-04-10: The inference code is released.
- 2026-04-10: Scal3R has been selected as a highlight paper for CVPR 2026.
Installation
Use the automated installation script:
bash scripts/install.sh
The script creates or reuses a conda environment named scal3r, installs the core dependencies from requirements.txt, and installs Scal3R in editable mode. By default it uses uv pip inside that conda environment, with a plain pip fallback available.
This release currently includes inference only; evaluation and benchmark code are not part of the public package yet.
For detailed installation instructions and PyTorch/CUDA guidance, see docs/install.md.
Download the required checkpoints to data/checkpoints/:
mkdir -p data/checkpoints
hf download xbillowy/Scal3R scal3r.pt --repo-type model --local-dir data/checkpoints
curl -L https://github.com/serizba/salad/releases/download/v1.0.0/dino_salad.ckpt -o data/checkpoints/dino_salad.ckpt
Usage
Run inference on a folder of images:
python -m scal3r.run --input_dir /path/to/images
You can also set an explicit tag or output directory:
python -m scal3r.run \
--input_dir /path/to/images \
--tag demo \
--output_dir data/result/custom/demo
Important arguments:
--config: model config path. Defaults toconfigs/models/scal3r.yaml.--tag: controls the default output directory name when--output_diris not set.--block_sizeand--overlap_size: control chunking for long-sequence inference.--save_dptand--save_xyz: control whether depth maps and point clouds are exported.--offload_batches,--offload_outputs: control whether to offload batches and outputs to disk.
By default, inference results are written to data/result/custom/<tag>/, and runtime artifacts are written to data/result/custom/<tag>/runtime/. The result directory typically contains:
mat.txtfor the predicted camera poses (camera-to-world transform matrix), each row is a raveled 4x4 matrixintri.ymlandextri.ymlfor EasyVolcap format camera parametersdepths/when depth export is enabledpoints/when point-cloud export is enabledruntime/for runtime artifacts
TODOs
- TODO: Release inference code.
- TODO: Release evaluation code along with dataset preparation scripts.
- TODO: Provide a simple viser viewer for the inference results.
Acknowledgments
This project builds on and benefits from several excellent open-source works, especially VGGT, VGGT-Long, and LaCT. We thank the authors for making their code and ideas publicly available.
Citation
@misc{xie2026scal3rscalabletesttimetraining,
title={Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstruction},
author={Tao Xie and Peishan Yang and Yudong Jin and Yingfeng Cai and Wei Yin and Weiqiang Ren and Qian Zhang and Wei Hua and Sida Peng and Xiaoyang Guo and Xiaowei Zhou},
year={2026},
eprint={2604.08542},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2604.08542},
}