Spaces:
Paused
Paused
Abdulrahman1989
commited on
Commit
·
67cb05d
1
Parent(s):
bc9f84c
Update setup
Browse files
setup.sh
CHANGED
@@ -5,11 +5,23 @@ apt-get update && apt-get install -y libglm-dev
|
|
5 |
|
6 |
# Clone the repositories if they do not already exist
|
7 |
if [ ! -d "./splatter-image" ]; then
|
|
|
8 |
git clone https://github.com/szymanowiczs/splatter-image.git
|
9 |
-
cd splatter-image
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
fi
|
11 |
|
12 |
if [ ! -d "./diff-gaussian-rasterization" ]; then
|
|
|
13 |
git clone https://github.com/graphdeco-inria/diff-gaussian-rasterization
|
14 |
-
cd diff-gaussian-rasterization
|
|
|
|
|
|
|
|
|
15 |
fi
|
|
|
5 |
|
6 |
# Clone the repositories if they do not already exist
|
7 |
if [ ! -d "./splatter-image" ]; then
|
8 |
+
echo "Cloning splatter-image repository..."
|
9 |
git clone https://github.com/szymanowiczs/splatter-image.git
|
10 |
+
cd splatter-image
|
11 |
+
pip install -r requirements.txt
|
12 |
+
pip install rembg
|
13 |
+
pip install omegaconf
|
14 |
+
cd ..
|
15 |
+
else
|
16 |
+
echo "splatter-image repository already exists."
|
17 |
fi
|
18 |
|
19 |
if [ ! -d "./diff-gaussian-rasterization" ]; then
|
20 |
+
echo "Cloning diff-gaussian-rasterization repository..."
|
21 |
git clone https://github.com/graphdeco-inria/diff-gaussian-rasterization
|
22 |
+
cd diff-gaussian-rasterization
|
23 |
+
python setup.py build_ext --inplace
|
24 |
+
cd ..
|
25 |
+
else
|
26 |
+
echo "diff-gaussian-rasterization repository already exists."
|
27 |
fi
|