Commit c106b820 authored by zhanggezhong's avatar zhanggezhong
Browse files

Update README.md

parent 37d79cbc
......@@ -14,15 +14,7 @@ OpenPCDet是一个清晰、简单、独立的开源项目,用于基于 LiDAR
+ pytorch版本大于2.4.1 && dtk版本大于25.04 推荐使用fastpt不转码编译。
### 1、使用pip方式安装
pcdet whl包下载目录:[光和开发者社区](https://download.sourcefind.cn:65024/4/main),选择对应的pytorch版本和python版本下载对应pcdet的whl包
```shell
pip install torch* (下载torch的whl包)
pip install fastpt* --no-deps (下载fastpt的whl包)
source /usr/local/bin/fastpt -E
pip install pcdet* (下载的pcdet-fastpt的whl包)
```
### 2、使用源码编译方式安装
### 1、使用源码编译方式安装
#### 编译环境准备
提供基于fastpt不转码编译:
......@@ -41,17 +33,13 @@ pip install setuptools==59.5.0 wheel
```shell
git clone https://developer.sourcefind.cn/codes/OpenDAS/openpcdet.git # 根据编译需要切换分支
```
- 提供2种源码编译方式(进入openpcdet目录
- 进入openpcdet目录:
```
1. 设置不转码编译环境变量
source /usr/local/bin/fastpt -C
2. 编译whl包并安装
python3 setup.py -v bdist_wheel
pip install dist/pcdet*
3. 源码编译安装
python3 setup.py install
python3 setup.py develop
```
#### 注意事项
+ 若使用pip install下载安装过慢,可添加pypi清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment