BEVFormer的环境配置,依赖mmdetection3d-0.17.1

本文指导如何在特定版本的PyTorch(1.10.0)环境中下载和安装BEVFormer,涉及MMDetection3D和Detectron2库的适配,以及如何配置数据集和解决mmcv和detectron2的问题。
摘要由CSDN通过智能技术生成

1.https://github.com/fundamentalvision/BEVFormer下载解压

2.cd BEVFormer,下载解压 https://github.com/open-mmlab/mmdetection3d/tree/v0.17.1 (注意版本0.17.1)

3.pytorch版本

conda install pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 cudatoolkit=11.3 -c pytorch -c conda-forge

4.cd mmdetection3d-0.17.1,运行pip install -v -e .和pip install -r requirements(各别库的版本适配)

5.mmcv有问题,官网下载https://download.openmmlab.com/mmcv/dist/cu113/torch1.10.0/index.html 

6.detectron2有问题,官网下载 https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html  

7.在tran.py添加D:\code\BEVFormer-master\my_bevformer_tiny.py配置文件

8.数据集生成方式可见官网

9.配置文件只修改

data_root='./BEVFormer-master/data/nuscenes/',

ann_file='./BEVFormer-master/data/nuscenes/nuscenes_infos_temporal_train.pkl',

                
  • 10
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值