Spaces:
Paused
Paused
Abdulrahman1989
commited on
Commit
·
b8eca8b
1
Parent(s):
6bc357d
Add setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Clone the repositories if they do not already exist
|
4 |
+
if [ ! -d "./splatter-image" ]; then
|
5 |
+
git clone https://github.com/szymanowiczs/splatter-image.git
|
6 |
+
cd splatter-image && pip install -r requirements.txt && cd ..
|
7 |
+
fi
|
8 |
+
|
9 |
+
if [ ! -d "./diff-gaussian-rasterization" ]; then
|
10 |
+
git clone https://github.com/graphdeco-inria/diff-gaussian-rasterization
|
11 |
+
cd diff-gaussian-rasterization && python setup.py build_ext --inplace && cd ..
|
12 |
+
fi
|