Ranran Huang · Weixun Luo · Ye Mao · Krystian Mikolajczyk
NAS3R is a self-supervised feed-forward framework that jointly learns explicit 3D geometry and camera parameters with no ground-truth annotations and no pretrained priors.
Table of Contents
- Clone NAS3R.
git clone --recurse-submodules git@github.com:ranrhuang/NAS3R.git
cd NAS3R- Create the environment, here we show an example using conda.
conda create -n nas3r python=3.11 -y
conda activate nas3r
pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
pip install -e submodules/diff-gaussian-rasterizationOur models are hosted on Hugging Face 🤗
| Model name | Training resolutions | Training data | Training settings |
|---|---|---|---|
| re10k_nas3r.ckpt | 256x256 | re10k | RE10K, 2 views |
We assume the downloaded weights are located in the checkpoints directory.
Please refer to DATASETS.md for dataset preparation.
# 2 view on NAS3R (VGGT-based architecture)
python -m src.main +experiment=nas3r/random/re10k wandb.mode=online wandb.name=nas3r_re10k
# Initialized by pretrained VGGT weights for better performance and stability.
python -m src.main +experiment=nas3r/pretrained/re10k wandb.mode=online wandb.name=nas3r_re10k_pretrained
# RealEstate10K on NAS3R
python -m src.main +experiment=nas3r/random/re10k mode=test wandb.name=re10k \
dataset/view_sampler@dataset.re10k.view_sampler=evaluation \
dataset.re10k.view_sampler.index_path=assets/evaluation_index_re10k.json \
checkpointing.load=./checkpoints/re10k_nas3r.ckpt \
test.save_image=false
We follow the pixelSplat camera system. The camera intrinsic matrices are normalized (the first row is divided by image width, and the second row is divided by image height). The camera extrinsic matrices are OpenCV-style camera-to-world matrices ( +X right, +Y down, +Z camera looks into the screen).
This project is built upon these excellent repositories:SPFSplatV2, SPFSplat, NoPoSplat, pixelSplat, DUSt3R, and CroCo. We thank the original authors for their excellent work.
@article{huang2026nas3r,
title={From None to All: Self-Supervised 3D Reconstruction via Novel View Synthesis} ,
author={Ranran Huang and Weixun Luo and Ye Mao and Krystian Mikolajczyk},
journal={arXiv preprint arXiv: 2603.27455},
year={2026}
}