gaussian-opacity-fields icon indicating copy to clipboard operation
gaussian-opacity-fields copied to clipboard

mesh_extract error!

Open ywaison opened this issue 1 year ago • 4 comments

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

ywaison avatar May 20 '24 14:05 ywaison

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

will-zzy avatar May 21 '24 12:05 will-zzy

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

ywaison avatar May 22 '24 00:05 ywaison

Hi, I also meet this problem, how do you solve it?

Violetsli avatar Nov 19 '24 15:11 Violetsli

You have to first "cmake .", then "make" and then "pip install -e ."

naeem414 avatar Mar 06 '25 11:03 naeem414