#!/bin/bash # Clone the repositories if they do not already exist if [ ! -d "./splatter-image" ]; then git clone https://github.com/szymanowiczs/splatter-image.git cd splatter-image && pip install -r requirements.txt && cd .. fi if [ ! -d "./diff-gaussian-rasterization" ]; then git clone https://github.com/graphdeco-inria/diff-gaussian-rasterization cd diff-gaussian-rasterization && python setup.py build_ext --inplace && cd .. fi