From 4c540f3d59ea4aa6dec137a99924d3516693c2e6 Mon Sep 17 00:00:00 2001 From: Ammar Qammaz Date: Wed, 25 Oct 2023 20:15:14 +0300 Subject: [PATCH] ... --- docker/initialize.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/initialize.sh b/docker/initialize.sh index 04cfa1f..03d2f5c 100755 --- a/docker/initialize.sh +++ b/docker/initialize.sh @@ -10,7 +10,7 @@ cd ceres-solver git checkout $(git describe --tags) # Checkout the latest release mkdir build cd build -cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CUDA_ARCHITECTURES=60;70;80 #-DUSE_CUDA=OFF +cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CUDA_ARCHITECTURES="60;70;80" #-DUSE_CUDA=OFF make @@ -24,10 +24,10 @@ cd colmap git checkout dev mkdir build cd build -cmake .. -DCMAKE_CUDA_ARCHITECTURES=60;70;80 #-DCUDA_ENABLED=OFF +cmake .. -DCMAKE_CUDA_ARCHITECTURES="60;70;80" #-DCUDA_ENABLED=OFF make sudo make install -CC=/usr/bin/gcc-6 CXX=/usr/bin/g++-6 cmake .. +#CC=/usr/bin/gcc-6 CXX=/usr/bin/g++-6 cmake .. cd .. cd .. @@ -37,4 +37,7 @@ pip install -q plyfile python3.10 -m pip install -q https://huggingface.co/camenduru/gaussian-splatting/resolve/main/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl python3.10 -m pip install -q https://huggingface.co/camenduru/gaussian-splatting/resolve/main/simple_knn-0.0.0-cp310-cp310-linux_x86_64.whl + +ln -s docker/run.sh ./run.sh + exit 0