https://arxiv.org/abs/2405.06945
- Clean codes thoroughly.
- Codes realeased.
Requires Python 3.7+, Cuda 11.3+ and PyTorch 1.10+
In addition to the dependencies in original 3DGS, you are required to install the following libraries:
pip install trimesh open3d
pip install --global-option="--no-networks" git+https://github.com/NVlabs/tiny-cuda-nn#subdirectory=bindings/torch
pip install "git+https://github.com/facebookresearch/pytorch3d.git"We assume that the NeRF-Synthetic and Mip-NeRF360 datasets are located in the following directories.
ln -s /data/datasets/nerf/nerf_synthetic ./data/nerf_synthetic
ln -s /data/datasets/nerf/mip-nerf360 ./data/mip-nerf360P.S. We will combine these scripts in the future to support one-click start.
# for synthetic dataset
python -u train_geo_stage1.py -s data/nerf_synthetic/chair --model_path output/synthetic_s1/chair
# for mip-nerf360(colmap) dataset
python -u train_geo_stage1.py -s data/mip-nerf360/bicycle --model_path output/mipnerf360_s1/bicycleFollow train_geo_stage1_post.ipynb to initialize the next-stage training. And then
# for synthetic dataset
python -u train_geo_stage2.py --config configs/ihpc/synthetic/synthetic_chair.json
# for mip-nerf360(colmap) dataset
python -u train_geo_stage2_colmap.py --config configs/ihpc/mip_bicycle.jsonBelow is the (optional) refinement stage.
# for synthetic dataset
python -u train_geo_stage3.py --config configs/ihpc/synthetic/synthetic_chair.json
# for mip-nerf360(colmap) dataset
python -u train_geo_stage3.py --config configs/ihpc/mip_bicycle.json