autonomousvision / gaussian-opacity-fields

Gaussian Opacity Fields: Efficient and Compact Surface Reconstruction in Unbounded Scenes
https://niujinshuchong.github.io/gaussian-opacity-fields/
Other
552 stars 26 forks source link

mesh_extract error! #39

Open ywaison opened 1 month ago

ywaison commented 1 month ago

Thank you very much for the code you provided. When I was preparing to extract the mesh after training the model, I encountered an error as shown in the following figure. I am eager to get your help and hope to get your reply in time! WGA$S 9Z11RZ_T X0YZL(L2

will-zzy commented 1 month ago

You should compile tetra-triangulation(cmake . and make) and pip install it.

ywaison commented 1 month ago

I followed the steps, and this is what appeared when I cmake -- The CXX compiler identification is GNU 9.4.0 -- The CUDA compiler identification is NVIDIA 11.7.99 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /usr/local/cuda-11.7/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Using Python 3.8.19 -- Found torch 1.13.1+cu117 -- Using torch libraries: /home/ywan/miniconda3/envs/gof/lib/python3.8/site-packages/torch/lib -- Using torch includes: /home/ywan/miniconda3/envs/gof/lib/python3.8/site-packages/torch/include;/home/ywan/miniconda3/envs/gof/lib/python3.8/site-packages/torch/include/torch/csrc/api/include;/home/ywan/miniconda3/envs/gof/lib/python3.8/site-packages/torch/include/TH;/home/ywan/miniconda3/envs/gof/lib/python3.8/site-packages/torch/include/THC -- Using CUDA toolkit: /usr/local/cuda -- Using CUDA architectures: 86 -- Using header-only CGAL fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' -- Targeting Unix Makefiles -- Using /usr/bin/c++ compiler. -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.so -- Found MPFR: /usr/lib/x86_64-linux-gnu/libmpfr.so -- Found Boost: /home/ywan/miniconda3/envs/gof/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.66") -- Boost include dirs: /home/ywan/miniconda3/envs/gof/include -- Boost libraries: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Using gcc version 4 or later. Adding -frounding-math -- pybind11 v2.9.2 -- Found PythonInterp: /home/ywan/miniconda3/envs/gof/bin/python (found version "3.8.19") -- Found PythonLibs: /home/ywan/miniconda3/envs/gof/lib/libpython3.8.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Configuring done (36.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project:

TCNN_CUDA_ARCHITECTURES

-- Build files have been written to: /home/ywan/gaussian-opacity-fields/submodules/tetra-triangulation/build