服务器环境:Ubuntu18 + cuda11.3
- 安装conda
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py38_4.8.3-Linux-x86_64.sh --no-check-certificate
bash Miniconda3-py38_4.8.3-Linux-x86_64.sh
- 新建环境
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
- 安装pytorch
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
- 在mac上下载[tinycudann v1.6](tinycudann v1.6) 并上传服务器(此时
dependencies中的cutlass和fmt是空的)
a. 从gitee上找相应的两个库并clone到目录中
b. mac本地跑git clone --recursive https://github.com/nvlabs/tiny-cuda-nn然后把两个文件夹中的内容复制到v1.6版本相应位置 - 编译(其中第三行要等挺长时间的)
cd tiny-cuda-nn
cmake . -B build
cmake --build build --config

最低0.47元/天 解锁文章
6576

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



