这里写自定义目录标题
Nerfstudio 安装和使用记录
参考网站:https://docs.nerf.studio/en/latest/quickstart/installation.html
安装
因为服务器无法联网,采用本地安装的方法进行安装:
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
这个链接无法在服务器联网安装,服务器一般不连外网
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
可以去官网github下载
https://github.com/NVlabs/tiny-cuda-nn/
另外fmt 和 cutlass github 是给的超链接,因此上面的链接并没有下载 这两个包,需要手动下载和安装。
如果报错 ld: cannot find -lcuda
export LIBRARY_PATH="/usr/local/cuda-11.3/lib64/stubs:$LIBRARY_PATH"
cd bindings/torch
python setup.py install
安装nerfstudio:
git clone git@github.com:nerfstudio-project/nerfstudio.git
cd nerfstudio
pip install --upgrade pip setuptools
pip install -e .
运行速度 Bug:
是否在训练的时候 加入Mask 是很影响训练速度的;
没加之前 180 K 光线;
添加之后 40K 光线;
将 Mask 放置在 GPU 上面可以缓解速度的问题。

本文档详细介绍了Nerfstudio的安装步骤及常见问题解决方法,并提供了训练过程中的注意事项,包括如何提高训练效率及解决端口冲突等问题。

2491

被折叠的 条评论
为什么被折叠?



