Code Monkey home page Code Monkey logo

colmap_in_docker's Introduction

colmap_in_docker

This github repo aims to help you build a docker image with colmap residing in.

Prerequites: make sure docker and nvidia-docker2 are installed on your system. And also make sure that the nvidia driver installed on your system is compatible with cuda-8.0; otherwise you need to modify the base image in the Dockerfile.

The workflow is as below:

  • switch to the directory 'colmap_in_docker' after you git-clone the repo.
  • run './build_colmap.sh'; this build a docker image called 'kai46/colmap:latest' on your local machine.
  • run './run_colmap.sh'; this will launch a container and lead you to a interactive bash; the script takes care of mapping host user id, and mounting host volume into the newly launched container; this script is tailored to the phoenix cluster at Cornell, and by default, it mounts the '/phoenix' directory into the launched container; feel free to modify it for your own purposes.
  • enjoy!

Feel free to modify the Dockerfile and the two handy scripts yourlf. Inside the 'reference' folder, there are two Dockerfiles provided by NVIDIA. I was referencing them to figure out how to install CUDA.

There's also a pre-built docker image hosted on DcokerHub. Run 'docker pull kai46/colmap:latest' to pull the image to your local machine.

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.