当前位置:网站首页>OpenPCDet installs the latest version: spconv in one step
OpenPCDet installs the latest version: spconv in one step
2022-08-11 06:16:00 【zhSunw】
OpenPCDet installation
OpenPCDet github official website:https://github.com/open-mmlab/OpenPCDet
Wow...It's really been a long time.
Post a successful picture first: 
ActuallyThe server in the school laboratory has an installed environment, but since I haven't enrolled in the school and cannot use the campus network, and I have to process the data set in the near future, I still need to install it on the server on the undergraduate side first.
I tried to install it more than a month ago, and I have been stuck in Spconv's strange error report.Later, it was found that spconv has version 2.x, which can be installed directly with pip and take off directly.Many thanks.Then many tutorials are still in accordance with the previous version, and you need to get spconv by yourself, so let's update it and record the pits you have stepped on by the way.
Let's list the required environment first (pytorch, CUDA installation is not much to say, it is more complicated, you can directly refer to the relevant blog):
- Linux (tested on Ubuntu 14.04/16.04/18.04/20.04/21.04) I'm using CentOS and it's fine
- Python 3.6+
- PyTorch 1.1 or higher (tested on PyTorch 1.1, 1,3, 1,5~1.10)
- CUDA 9.0 or higher (PyTorch 1.3+ needs CUDA 9.2+)
- spconv v1.0 (commit 8da6f96) or spconv v1.2 or spconv v2.x
Spconv
Enter Spconv official website, find the corresponding install command according to your CUDA version, and enter it directly.
pcdet v0.5
Clone the git repository (you can also download the zip yourself)
git clone https://github.com/open-mmlab/OpenPCDet.gitInstall dependency library
First enter the corresponding directory, then runpip install -r requirements.txtInstall pcdet
python setup.py developCheck
run, no error is reported:pythonimport pcdet
Step on the pit
pip install spconv cannot find package
Update the pip version
Modify the default python of pip, do not go down to the library managed by conda
Modify the environment variable to change from conda to the python3.7 that comes with the system
windows can't be installed, strange error is reported
There is no solution..I don't know if windows can be installed (spconv is OK, OpenPCDet is not safe, the official website environment says that Linux is needed, I tried it myself, but it really won't work)
Cannot update gcc without root
If you need to update the gcc version (7.1 is available, recommended, not too high or too low), if you have root, you can do whatever you want, just click what you find, if you don't have root, it is strongly recommended: https://www.cnblogs.com/jessepeng/p/11674780.htmlBlog.Just follow this tutorial, it's very detailed.
Running setup keeps reporting errors
The high probability is that the gcc version is wrong. It is recommended to update it according to the previous article.
Students who are unclear about the specific details of the above questions can privately message me (take me to remember)
边栏推荐
猜你喜欢
随机推荐
基于ijkplayer 0.8.8编译的完整so. libijkffmpeg.so等,支持ssl h265, rm, rmvb
NAT模式 LVS负载均衡群集部署
Mysql导入UTF8编码数据库命令总结
GBase 8s的分片和索引
AI智能图像识别的工作原理及行业应用
Rethinking LiDAR Object Detection in adverse weather conditions
【docker-compose】mysql安装
跳转到微信小程序方法
Fragment 和 CardView
Waymo数据集使用介绍(waymo-open-dataset)
Toolbar 和 DrawerLayout 滑动菜单
Nodered系列—写入tDengine超级表,自动创建子表
恶劣天气 3D 目标检测数据集收集
centos—docker安装mysql
windows下的redis安装及密码修改
RecycleView
GBase 8s共享内存中的常驻内存段
安全帽识别-施工安全的“监管者”
如何修改严格模式让MySQL5.7插入用户表的方式新建用户成功?delete和drop的不同
OSPF综合实验









