三维重建:神经辐射场NERF的环境搭建......3D重建---物体--人体

# 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的名字即可!!!...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值