Merge branch 'main' of github.com:AmmarkoV/gaussian-splatting into main

This commit is contained in:
Ammar Qammaz 2023-10-28 17:57:06 +03:00
commit 5361a89e9a

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#git clone https://github.com/NVIDIA/cuda-samples #git clone https://github.com/NVIDIA/cuda-samples #<- To Test docker Cuda image..
#cd cuda-samples #cd cuda-samples
@ -11,8 +11,6 @@ git checkout $(git describe --tags) # Checkout the latest release
mkdir build mkdir build
cd 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 make
sudo make install sudo make install
cd .. cd ..
@ -27,7 +25,6 @@ cd build
cmake .. -DCMAKE_CUDA_ARCHITECTURES="60;70;80" #-DCUDA_ENABLED=OFF cmake .. -DCMAKE_CUDA_ARCHITECTURES="60;70;80" #-DCUDA_ENABLED=OFF
make make
sudo make install sudo make install
#CC=/usr/bin/gcc-6 CXX=/usr/bin/g++-6 cmake ..
cd .. cd ..
cd .. cd ..
@ -40,6 +37,7 @@ pip install plyfile tqdm
python3.10 -m pip install 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 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 https://huggingface.co/camenduru/gaussian-splatting/resolve/main/simple_knn-0.0.0-cp310-cp310-linux_x86_64.whl python3.10 -m pip install https://huggingface.co/camenduru/gaussian-splatting/resolve/main/simple_knn-0.0.0-cp310-cp310-linux_x86_64.whl
python3.10 -m pip install torchvision
ln -s docker/run.sh ./run.sh ln -s docker/run.sh ./run.sh