Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.62 KB

INSTALL.md

File metadata and controls

42 lines (35 loc) · 1.62 KB

Installation

Requirements

All the codes are tested in the following environment:

Install MS3D

MS3D runs on OpenPCDet pcdet v0.6.0.

a. Clone this repository.

git clone https://github.com/darrenjkt/MS3D.git

b. Using Docker

We highly recommend running this repository on docker for out-of-box usage. You can build our Dockerfile or pull our provided docker image.

docker pull darrenjkt/openpcdet:v0.6.0

For easy running of the image we provide a script. Change the file paths, number of GPUs and then run it. Use docker ps to find the container name.

bash docker/run.sh
docker exec -it ${CONTAINER_NAME} /bin/bash

c. Within the container, install pcdet and the tracker with the following commands

python setup.py develop
cd tracker && pip install -e . --user

Note that if you want to use dynamic voxelization (e.g. Voxel-RCNN), you need torch-scatter. This should already be pre-installed in our docker image but you can install with the following commands if need be.

pip install torch==1.8.1 torchvision==0.9.1
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.8.1+cu111.html
python setup.py develop # rebuild repository