OpenPCDet windows 安装测试实战

目录

OpenPCDet 代码地址:

Windows安装OpenPCDet

依赖项 不全:

windows下编译SharedArray

distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required.

报了新的错误无法打开包括文件: “Windows.h”:

我在运行一个程序时候出现了出现了bug error: command ‘\XXX\VS2015\VC\BIN\x86_amd64\link.exe‘ failed with exit status 1158后缀为1158的错误

编译3d_nms等库

自己修改编译的 ingroup-inds库代码

 一些报错解决和编译依赖库:

linux系统:

支持bin格式和npy格式:


OpenPCDet 代码地址:

GitHub - open-mmlab/OpenPCDet: OpenPCDet Toolbox for LiDAR-based 3D Object Detection.

好文推荐:

安装OpenPCDet跑通PointRCNN_av2.utils.io-CSDN博客

Windows安装OpenPCDet

windows下配置OpenPCDet_win10安装openpcdet-CSDN博客

在vs2019 的x64命令行下编译成功,成功了5个组件,但是

ingroup_inds编译报错。

set DISTUTILS_USE_SDK=1

python setup.py develop

依赖项 不全:

pip install pyquaternion

pip install av2

pip install open3d

windows下编译SharedArray

参考:

Windows安装SharedArray_no module named 'sharedarray-CSDN博客

python setup.py develop, 

报错:

distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required.

解决方法:

下载生成工具:

Microsoft C++ 生成工具 - Visual Studio

但是报了新的错误。

转自:解决distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required - 简书

安装 Microsoft Visual C++ Build tools

链接:https://pan.baidu.com/s/1sxCQFGrhC4PPz2ihLDq7QQ

提取码:p4cd

报了新的错误无法打开包括文件: “Windows.h”:

shared_memory_python.cpp(3): fatal error C1083: 无法打开包括文件: “Windows.h”: No such file or directory

在vs2019的命令行下执行,又报了新错误:

我在运行一个程序时候出现了出现了bug error: command ‘\XXX\VS2015\VC\BIN\x86_amd64\link.exe‘ failed with exit status 1158
后缀为1158的错误

后来在vs2017的命令行下执行,编译成功。

编译3d_nms等库

python3不支持long类型,把long改为int_64t,cpp和cu都改,可以编译了。

在vs2019的x64命令行下编译成功,

自己修改编译的 ingroup-inds库代码

https://download.csdn.net/download/jacke121/88670867

 一些报错解决和编译依赖库:

‘quaternion_to_rotation_matrix‘ is being compiled since it was called from ‘quat_to_mat‘-CSDN博客

linux系统:

三维目标检测之OpenPCDet环境配置及demo测试

支持bin格式和npy格式:

  if self.ext == '.bin':
            points = np.fromfile(self.sample_file_list[index], dtype=np.float32).reshape(-1, 4)
        elif self.ext == '.npy':
            points = np.load(self.sample_file_list[index])
        else:
            raise NotImplementedError

        input_dict = {
            'points': points,
            'frame_id': index,
        }

        data_dict = self.prepare_data(data_dict=input_dict)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

AI算法网奇

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值