Add docker scripts to gaussian-splatting #389
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all thanks for providing this amazing work to the Computer Vision Community!
This pull request adds the capability of building a docker container for gaussian-splatting
To install docker with NVIDIA/GPU pass-through support one can follow the following instructions :
https://www.howtogeek.com/devops/how-to-use-an-nvidia-gpu-with-docker-containers/
The docker subfolder is added to the project features 5 scripts/items :
docker/build_and_deploy.sh
Running this script builds and deploys "gaussian-splatting-container" container. It prepares and installs required libraries, starts and then attaches the container making all the required setup ready for use after issuing just one command!
docker/Dockerfile
This is the deployed docker file that builds on nvidia/cuda:12.2.0-devel-ubuntu22.04 and creates a docker container with the required system libraries to run the project
docker/initialize.sh
This is a BASH script called internally during container setup to install CERES, colmap and the python dependencies of the project
docker/run.sh
This is a script that automatically processes and then trains on a video file.
Issuing :
./run.sh VIDEOFILE.MOV kickstarts the procedure storing output in VIDEOFILE.MOV-data/output
docker/setup.sh
Optional script to perform installation of the docker server