从Github克隆mmdet3d源码(这里-b v1.4.0表示指定版本)
git clone -b v1.4.0 https://github.com/open-mmlab/mmdetection3d.git
安装依赖添加到requirements.txt
lyft_dataset_sdk
networkx>=2.5
numba # you should install numba==0.53.0 if your environment is cuda-9.0
numpy==1.23.0 #np.long 异常,后续版本将np.long修改为了np.longlong
nuscenes-devkit
open3d
plyfile
scikit-image
tensorboard
trimesh
# 验证
下载文件到mmdet3d
mim download mmdet3d --config pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car --dest .
执行命令
python demo/pcd_demo.py demo/data/kitti/000008.bin pointpillars_hv_secfpn_8xb6-160e_kitti-3d-car.py hv_pointpillars_secfpn_6x8_160e_kitti-3d-car_20220331_134606-d42d15ed.pth --show