sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 360 forks source link

Error compiling loss_kernel.cu (CUDA 11.6) #51

Open miBaglai opened 2 years ago

miBaglai commented 2 years ago

Hi! I have the following log after trying pip install . :

C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\torch\include\pybind11\cast.h(1503): error: too few arguments for template template parameter "Tuple"
          detected during instantiation of class "pybind11::detail::tuple_caster<Tuple, Ts...> [with Tuple=std::pair, Ts=<T1, T2>]"
(1507): here
2 errors detected in the compilation of "svox2/csrc/loss_kernel.cu".
loss_kernel.cu
error: command 'P:\\Program Files\\CUDA\\DEV\\bin\\nvcc.exe' failed with exit code 1
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
    return stream.closed
ValueError: underlying buffer has been detached`

Is it an issue on my side or something is wrong with the code? Thanks.

mm23mm commented 2 years ago

Hi, I'm having the same issue , do you have any idea to solve it? Thank you!!

Waffle1434 commented 2 years ago

Same issue here

ciompzhangdi commented 1 year ago

Same issue here

ciompzhangdi commented 1 year ago

Same issue here