三维重建:神经辐射场NERF的环境搭建......3D重建---物体--人体
3维重建,神经辐射场NERF的搭建,本人4060笔记本,训练一次大概11小时左右
# 1、老师的nerf仓库.....
1、克隆仓库: git clone https://github.com/yenchenlin/nerf-pytorch # 要求pytorch>1.80
2、cd nerf-pytorch 3、pip install -r requirement.txt
# pytoch官网地址::: (有一个坑,要先装,pip install -r requirement.txt ,再装pytorch .........)
# torch 1.8.1 cuda 11.1
pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html # 用这个!!!
# torch 2.0 cuda 11.8
# pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 #### 选择这一个....
# 2、下载数据集.....
1、下载命令.....(Windows可能不适用,直接到下面的地址下载....)
bash download_example_data.sh
2、下载地址.....再进行解压....
# 1、压缩包地址.... (挂梯子....)
http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/ECCV20/nerf/tiny_nerf_data.npz
# 2、解压....
cd data
### 地址........
http://cseweb.ucsd.edu/~viscomp/projects/LF/papers/ECCV20/nerf/nerf_example_data.zip
## 解压命令...
unzip nerf_example_data.zip
### 3、重装高版本的pytorch,要求>1.8.0
pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html # 用这个!!!
# 3、训练测试 nerf.....
python run_nerf.py --config configs/lego.txt # 根据不同的数据集、更改lego.txt的名字即可!!!...

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐
所有评论(0)