You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this great implementation of distortion loss.
I ran into this issue when compiling your extension.
\lib\site-packages\torch\include\pybind11\cast.h(624): 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>]"
(721): here
\lib\site-packages\torch\include\pybind11\cast.h(717): 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>]"
(721): here
Following a discussion in the Pytorch3D repo it seems like the issue is that nvcc doesn't like pybind under Windows.
I found out that replacing this line:
If there is no other reason to use torch/extension.h there, I would suggest to change that line in your repo to facilitate compilation for some OS-nvcc pairs.
The text was updated successfully, but these errors were encountered:
Thank you for this great implementation of distortion loss.
I ran into this issue when compiling your extension.
Following a discussion in the Pytorch3D repo it seems like the issue is that
nvcc
doesn't likepybind
under Windows.I found out that replacing this line:
torch_efficient_distloss/torch_efficient_distloss/cuda/segment_cumsum_kernel.cu
Line 1 in 03ea697
with
actually solved the problem for me.
If there is no other reason to use
torch/extension.h
there, I would suggest to change that line in your repo to facilitate compilation for some OS-nvcc pairs.The text was updated successfully, but these errors were encountered: