Anttwo / SuGaR

[CVPR 2024] Official PyTorch implementation of SuGaR: Surface-Aligned Gaussian Splatting for Efficient 3D Mesh Reconstruction and High-Quality Mesh Rendering
https://anttwo.github.io/sugar/
Other
2.31k stars 175 forks source link

unable to get model working #144

Open mehdikhfifi opened 9 months ago

mehdikhfifi commented 9 months ago

(sugar) khfifi@jensen:~/SuGaR$ python train.py -s /home/khfifi/tryinggauss -c /home/khfifi/gausstomesh -r "sdf" Traceback (most recent call last): File "/home/khfifi/SuGaR/train.py", line 3, in from sugar_trainers.coarse_density import coarse_training_with_density_regularization File "/home/khfifi/SuGaR/sugar_trainers/coarse_density.py", line 7, in from sugar_scene.gs_model import GaussianSplattingWrapper, fetchPly File "/home/khfifi/SuGaR/sugar_scene/gs_model.py", line 6, in from gaussian_splatting.scene.gaussian_model import GaussianModel File "/home/khfifi/SuGaR/gaussian_splatting/scene/init.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "/home/khfifi/SuGaR/./gaussian_splatting/scene/init.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "/home/khfifi/SuGaR/./gaussian_splatting/scene/dataset_readers.py", line 24, in from scene.gaussian_model import BasicPointCloud File "/home/khfifi/SuGaR/./gaussian_splatting/scene/gaussian_model.py", line 20, in from simple_knn._C import distCUDA2 ImportError: /home/khfifi/SuGaR/gaussian_splatting/submodules/simple-knn/simple_knn/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c106SymInt19promote_to_negativeEv

i'm trying to follow the steps, i'm on the optimization of sugar, and I keep running into this error. thank you to whoever replies.

hanjoonwon commented 9 months ago

(sugar) khfifi@jensen:~/SuGaR$ python train.py -s /home/khfifi/tryinggauss -c /home/khfifi/gausstomesh -r "sdf" Traceback (most recent call last): File "/home/khfifi/SuGaR/train.py", line 3, in from sugar_trainers.coarse_density import coarse_training_with_density_regularization File "/home/khfifi/SuGaR/sugar_trainers/coarse_density.py", line 7, in from sugar_scene.gs_model import GaussianSplattingWrapper, fetchPly File "/home/khfifi/SuGaR/sugar_scene/gs_model.py", line 6, in from gaussian_splatting.scene.gaussian_model import GaussianModel File "/home/khfifi/SuGaR/gaussian_splatting/scene/init.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "/home/khfifi/SuGaR/./gaussian_splatting/scene/init.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "/home/khfifi/SuGaR/./gaussian_splatting/scene/dataset_readers.py", line 24, in from scene.gaussian_model import BasicPointCloud File "/home/khfifi/SuGaR/./gaussian_splatting/scene/gaussian_model.py", line 20, in from simple_knn._C import distCUDA2 ImportError: /home/khfifi/SuGaR/gaussian_splatting/submodules/simple-knn/simple_knn/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c106SymInt19promote_to_negativeEv

i'm trying to follow the steps, i'm on the optimization of sugar, and I keep running into this error. thank you to whoever replies.

are you clone git clone https://github.com/Anttwo/SuGaR.git --recursive ?? not git clone https://github.com/Anttwo/SuGaR.git

agouloumis commented 5 months ago

I've got the same problem. I don't know what to do