GithubHelp home page GithubHelp logo

docker-openpcdet's Introduction

Docker OpenPCDet

This is a docker container with OpenPCDet installed. To build or use this, you need to install docker, as well as nvidia-docker to pass the GPU through to the container.

It is available on the Docker hub as xfbs/openpcdet. You can use docker pull to fetch it for use on your machine.

docker pull xfbs/openpcdet

Setup

Install docker as per the instructions on docs.docker.com. Install nvidia-docker as per the instructions on docs.nvidia.com. Make sure that your user is able to use docker by adding it to the docker group, if not already there:

useradd $USER docker

Reboot your machine for the change to take effect (or restart your X server). Ensure that you are in the docker group by running the groups command (should show docker).

Make sure you have the NVidia drivers installed from developer.nvidia.com. If you use Ubuntu, install the Deb version of them. Reboot your system to make sure you are using the NVidia drivers. You need to use at least version 10.1.

You need to figure out the CUDA compute capability of your GPU. You can use this chart to look it up. See also this section of the PyTorch documentation.

Building

Before compiling, make sure that you have checked out the Git repository and submodules recursively. To ensure that is the case, run this.

git submodule update --init --recursive

To build the container, you can run the Docker build command from this repository.

docker build . -t openpcdet

You might want to check what CUDA compute capability you require. That is, the CUDA extensions in OpenPCDet are normally built for the GPU detected during installation, however for this Docker container, the GPU is not available during build time. You can override the CUDA compute capabilities using the --build-arg TORCH_CUDA_ARCH_LIST=XYZ flag.

License

MIT.

docker-openpcdet's People

Contributors

hedaniel7 avatar xfbs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-openpcdet's Issues

no mayavi in this image?

Hi,
Thank you for your work! I have a question.
After I pulled the image from docker hub, I mount the kitti data in the container(/tmp/OpenPCDet/data/kitti/); And I also mount the weights file in the container too.
I try to run the demo.py. I got this error:
No module named 'mayavi'.

Is this normal?
thank you a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.