Install BEVFusion using Docker
mainTo set up the environment using Docker, ensure nvidia-docker is installed.
- Build the image:
cd docker && docker build . -t bevfusion- Run the container (mapping your local data directory to
/datasetinside the container):
nvidia-docker run -it -v `pwd`/../data:/dataset --shm-size 16g bevfusion /bin/bash- Inside the container, clone the repo and install custom CUDA extensions:
cd home && git clone https://github.com/mit-han-lab/bevfusion && cd bevfusion
python setup.py developNote: It is recommended to perform data preparation outside the Docker container. Use an absolute path for the dataset directory.
cd docker && docker build . -t bevfusion
nvidia-docker run -it -v `pwd`/../data:/dataset --shm-size 16g bevfusion /bin/bash