INSTALL.md 1.14 KB
Newer Older
Shaoshuai Shi's avatar
Shaoshuai Shi committed
1
2
3
4
5
6
7
8
9
10
11
## Installation

### Requirements
All the codes are tested in the following environment:
* Linux (tested on Ubuntu 14.04/16.04)
* Python 3.6+
* PyTorch 1.1 or higher (tested on PyTorch 1.1)
* CUDA 9.0 or higher
* `spconv v1.0` ([commit 8da6f96](https://github.com/traveller59/spconv/tree/8da6f967fb9a054d8870c3515b1b44eca2103634))


Shaoshuai Shi's avatar
Shaoshuai Shi committed
12
### Install `pcdet v0.3`
13
NOTE: Please re-install `pcdet v0.3` by running `python setup.py develop` even if you have already installed previous version.
14

Shaoshuai Shi's avatar
Shaoshuai Shi committed
15
16
a. Clone this repository.
```shell
Shaoshuai Shi's avatar
Shaoshuai Shi committed
17
git clone https://github.com/open-mmlab/OpenPCDet.git
Shaoshuai Shi's avatar
Shaoshuai Shi committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
```

b. Install the dependent libraries as follows:

* Install the dependent python libraries: 
```
pip install -r requirements.txt 
```

* Install the SparseConv library, we use the non-official implementation from [`spconv`](https://github.com/traveller59/spconv). 
Note that we use the initial version of `spconv`, make sure you install the `spconv v1.0` ([commit 8da6f96](https://github.com/traveller59/spconv/tree/8da6f967fb9a054d8870c3515b1b44eca2103634)) instead of the latest one.

c. Install this `pcdet` library by running the following command:
```shell
python setup.py develop
```