Coder Social home page Coder Social logo

dockerfiles's Introduction

dockerfiles

Recommended setup

  • Create SSH key on Tchai: ssh-keygen
  • Display and copy the public key cat ~/.ssh/id_rsa
  • Go to GitHub > Settings > SSH and GPG Keys
  • Click 'New SSH Key' and paste the SSH key.
  • Then, on Tchai, do: git clone ... (this repo and other repos)
  • Open the project folder in VS Code using Remote SSH extension.

Running the Docker images

Run one of the following, depending on what you're working on:

docker run -it --gups 'device=0' lanternerds/hdr-nerf
docker run -it --gups 'device=0' lanternerds/hdr-plenoxel
docker run -it --gups 'device=0' lanternerds/nerfstudio-hdr

Note: We specify device=0 since we only have access to the 24 GB Titan RTX on Tchai. Otherwise, we can ask Christophe for GPU 1.

Buidling the Docker images

Note: this is only needed if you need to change the software/libraries installed in the Docker images. Changing the code of the Python project doesn't require a rebuild.

  • Building all images:
    bash build_all.sh
    
  • Building a single image (change <name> to hdr-nerf, hdr-plenoxel or nerfstudio-hdr)
    docker build . -t lanternerds/<name>
    

todo

  • Figure out nvidia-container-toolkit error on images that used to work
  • Make usage guide
  • nerfstudio-hdr
    • Mount local repo to container instead of cloning into image
  • HDR-Plenoxels
    • Don't run pip as root to prevent warnings

dockerfiles's People

Contributors

jlague avatar lefreud avatar

Stargazers

 avatar

Watchers

 avatar

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.