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, 1,3, 1,5)
- CUDA 9.0 or higher (PyTorch 1.3+ needs CUDA 9.2+)
spconv
NOTE: Please re-install pcdet v0.3
by running python setup.py develop
even if you have already installed previous version.
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, using the modified implemenation from
third_party/spconv
.
c. Install this pcdet
library by running the following command:
python setup.py develop