Giter Club home page Giter Club logo

vrn-docker's Introduction

Docker build for vrn code

If you’ve been redirected here from the 3D face reconstruction demo website: Sorry, I turned it off.

This is intended to work on CPU. Will modify eventually to have CUDA support. It’s available on DockerHub but you are welcome to build it yourself too. If you feel like doing this yourself, please feel free to send a pull request to a branch called cuda.

Setup

Dockerhub

The pre-built docker image is available on Docker Hub and includes the CPU float versions of the models.

sudo docker pull asjackson/vrn:latest

Build docker manually

The model files were originally held in GitHub’s LFS, but I ran out of space. If you want to build the container yourself, feel free to ask me for links to these files, or alternatively grab them from inside the Docker Hub container.

git clone
cd vrn-docker
docker build -t vrn .

Running the container

An example image of Alan Turing is available in the folder data, this needs to be bind mounted to /data in the container. With any luck, data/turing.jpg.obj will be created.

docker run -v $PWD/data:/data:Z asjackson/vrn /runner/run.sh /data/turing.jpg

The Z suffix changes the SELinux context of the directory so that it can be accessed on systems which have SELinux enabled. This might not be necessary on some distributions, such as Ubuntu, where SELinux is disabled by default. However, it is likely required under CentOS and Fedora.

vrn-docker's People

Contributors

aaronjackson 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.