赞
踩
git clone https://github.com/graphdeco-inria/gaussian-splatting --recursive
- SET DISTUTILS_USE_SDK=1
- conda env create --file environment.yml
- conda activate gaussian_splatting
如果报错
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\crt/host_config.h(231): fatal error C1083: 无法打开包括文件: “crtdefs.h”: No such file or directory
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin\\nvcc.exe' failed with exit code 2
则执行下面命令
- conda install -c anaconda vs2019_win-64
- conda env update --file environment.yml
要运行优化器,只需使用下面命令
python train.py -s <path to COLMAP or NeRF Synthetic dataset>
COLMAP合成数据集结构:
<location>
|---images
| |---<image 0>
| |---<image 1>
| |---...
|---sparse
|---0
|---cameras.bin
|---images.bin
|---points3D.bin
下载项目提供的SfM数据集
下载编译好的查看器并解压
- cd gaussian-splatting\viewers\bin
- SIBR_gaussianViewer_app -m <path to trained model>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。