Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronjackson/vrn-docker
:whale: Docker files for Large Pose 3D Face Reconstruction from a Single Image via Direct Volumetric CNN Regression
https://github.com/aaronjackson/vrn-docker
3d-face-reconstruction docker
Last synced: 2 days ago
JSON representation
:whale: Docker files for Large Pose 3D Face Reconstruction from a Single Image via Direct Volumetric CNN Regression
- Host: GitHub
- URL: https://github.com/aaronjackson/vrn-docker
- Owner: AaronJackson
- Created: 2021-04-08T13:43:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T06:06:46.000Z (about 1 year ago)
- Last Synced: 2025-01-19T04:58:51.508Z (10 days ago)
- Topics: 3d-face-reconstruction, docker
- Language: Lua
- Homepage:
- Size: 579 KB
- Stars: 381
- Watchers: 17
- Forks: 180
- Open Issues: 7
-
Metadata Files:
- Readme: README.org
- Citation: CITATION.bib
Awesome Lists containing this project
README
* 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.
#+BEGIN_SRC
sudo docker pull asjackson/vrn:latest
#+END_SRC*** 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.#+BEGIN_SRC
git clone
cd vrn-docker
docker build -t vrn .
#+END_SRC** 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.#+BEGIN_SRC
docker run -v $PWD/data:/data:Z asjackson/vrn /runner/run.sh /data/turing.jpg
#+END_SRCThe 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.