当前位置:网站首页>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.git
Install dependency library
First enter the corresponding directory, then runpip install -r requirements.txt
Install pcdet
python setup.py develop
Check
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)
边栏推荐
- GBase 8s性能简介
- LAGRANGIAN FLUID SIMULATION WITH CONTINUOUS CONVOLUTIONS
- uniapp 在HBuilder X中配置微信小程序开发工具
- 数据库(其二)
- 通用的 kernel和 userspace Makefile
- Joint 3D Instance Segmentation and Object Detection for Autonomous Driving
- 正则(三剑客和文本处理工具)
- Maykel Studio - Django Web Application Framework + MySQL Database Second Training
- DOM破坏
- 梅科尔工作室-Pr第二次培训笔记(基本剪辑操作和导出)
猜你喜欢
TAMNet:A loss-balanced multi-task model for simultaneous detection and segmentation
>>数据管理:DAMA简介
Pay “Attention” to Adverse Weather
LiDAR Snowfall Simulation for Robust 3D Object Detection
>>数据管理:读书笔记|第一章 数据管理
>>开发工具:IDEA格式化代码无效
mysql基本概念之存储引擎
NodeRed系列—nodered安装及基本操作
更新GreenDAO实体类导致的编译错误
NodeRed系列—发送消息给emqx
随机推荐
梅科尔工作室-DjangoWeb 应用框架+MySQL数据库第三次培训
>>开发工具:IDEA格式化代码无效
经纬度距离
GBase 8s是如何保证数据一致性
mysql 间隙锁(GAP-LOCK)演示
梅科尔工作室-DjangoWeb 应用框架+MySQL数据库第四次培训
梅科尔工作室-深度学习第二讲 BP神经网络
基于AI智能图像识别:4个不同的行业应用
梅科尔工作室-DjangoWeb 应用框架+MySQL数据库第五次培训
NodeRed系列—nodered安装及基本操作
MGRE实验
CNN-based Point Cloud De-Noising
emqx安装及mqttx连接使用
GBase 8s存储结构简介及空间管理
梅科尔工作室-DjangoWeb 应用框架+MySQL数据库第六次培训
emqx创建规则引擎写入tDengine
关于安全帽识别系统,你需要知道的选择要点
静态综合复习实验
【docker-compose】mysql安装
mysql基本概念之索引