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)
NOTE: Please re-install pcdet v0.3
by running python setup.py develop
if you have already installed pcdet v0.1
previously.
a. Clone this repository.
git clone https://github.com/open-mmlab/OpenPCDet.git
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
. Note that we use the initial version ofspconv
, make sure you install thespconv v1.0
(commit 8da6f96) instead of the latest one.
c. Install this pcdet
library by running the following command:
python setup.py develop