Closed MartinHahner closed 4 years ago
@MartinHahner88 Have you tried using Docker? That should create a consistent environment. You can follow the instructions in the directorydocker
I wish I could use Docker, but in our lab, we, unfortunately, have no possibility to use Docker. :(
Via Google, I think I found four similar issues:
but I could not get a clear solution out of these threads either.
My best guess is now, that the issue arises from using PyTorch 1.4.
@codyreading: Can you make any sense of the additional information there?
Hi @MartinHahner88,
Sorry, I am not too familar with original code, especially PartA2. I'm not entirely sure why this occuring.
Hi MartinHahner, I didn't test it on PyTorch 1.4 since I generally use PyTorch 1.1 due to the problem of low version Nvidia-driver. Have you tried to run it with PyTorch 1.1? Also, what's your NVIDIA driver and GPU?
@sshaoshuai I am dealing with Driver Version: 390.116 and a GTX 1060 on my work desktop (where your repository does not necessarily need to run), but more importantly, I can not make it run on our GPU cluster with Driver Version: 418.74 and a variety of those GPUs
When I used PyTorch 1.1 I could not successfully build any spconv version yet, neither 1.0, nor 1.1 or the latest 1.2 that was just released (and needs at least pytorch 1.3.0).
The error that I am getting when I am trying to build spconv with pytorch 1.1.0 looks like this:
src/spconv/CMakeFiles/spconv.dir/build.make:88: recipe for target 'src/spconv/CMakeFiles/spconv.dir/reordering.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/reordering.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/spconv/CMakeFiles/spconv.dir/build.make:101: recipe for target 'src/spconv/CMakeFiles/spconv.dir/maxpool.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/maxpool.cc.o] Error 1
src/spconv/CMakeFiles/spconv.dir/build.make:62: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
src/spconv/CMakeFiles/spconv.dir/build.make:75: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
CMakeFiles/Makefile2:165: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 121, in <module>
zip_safe=False,
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 49, in run
self.build_extension(ext)
File "setup.py", line 105, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
using the following conda environment:
$ conda list
# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/PCDet:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
blas 1.0 mkl
bzip2 1.0.8 h7b6447c_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py36_0
cffi 1.14.0 py36he30daa8_1
cmake 3.14.0 h52cb24c_0
cudatoolkit 9.0 h13b8566_0
cudnn 7.6.5 cuda9.0_0
expat 2.2.6 he6710b0_0
freetype 2.9.1 h8a8886c_1
intel-openmp 2020.1 217
jpeg 9b h024ee3a_2
krb5 1.17.1 h173b8e3_0
ld_impl_linux-64 2.33.1 h53a641e_7
libcurl 7.69.1 h20c2e04_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.3 he6710b0_1
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libpng 1.6.37 hbc83047_0
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_0
mkl 2020.1 217
mkl-service 2.3.0 py36he904b0f_0
mkl_fft 1.0.15 py36ha843d7b_0
mkl_random 1.1.1 py36h0573a6f_0
ncurses 6.2 he6710b0_1
ninja 1.9.0 py36hfd86e86_0
numpy 1.18.1 py36h4f9e942_0
numpy-base 1.18.1 py36hde5b4d6_1
olefile 0.46 py36_0
openssl 1.1.1g h7b6447c_0
pillow 7.1.2 py36hb39fc2d_0
pip 20.0.2 py36_3
pycparser 2.20 py_0
python 3.6.10 h7579374_2
pytorch 1.1.0 py3.6_cuda9.0.176_cudnn7.5.1_0 pytorch
readline 8.0 h7b6447c_0
rhash 1.3.8 h1ba5d50_0
setuptools 46.4.0 py36_0
six 1.14.0 py36_0
sqlite 3.31.1 h62c20be_1
tk 8.6.8 hbc83047_0
torchvision 0.3.0 py36_cu9.0.176_1 pytorch
wheel 0.34.2 py36_0
xz 5.2.5 h7b6447c_0
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
@MartinHahner88
Your work desktop is the same with my desktop and I could install it successfully.
PCDet
has also been tested on GTX 1080 Ti, Titan Xp, Titan X
but with PyTorch 1.1 and older nvidia driver and CUDA 9.0.
The error log of your cmake seems strange. Have you tried to clean the folder (rm build
and run python setup.py clean
) and re-build the spconv 1.0
?
Make sure to use gcc 5.4
and cmake 3.13+
.
@sshaoshuai
Thanks for the hint about gcc
.
Make sure to use
gcc 5.4
andcmake 3.13
$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Our gcc version is newer, so I will try to see if I can downgrade to or separately install gcc 5.4
on our cluster and report back if that finally resolves everything.
@MartinHahner88
Please also make sure to rm build
and run python setup.py clean
before the next building to reduce the potential risk from building history.
Yes, I made sure to run rm - rf build
and python setup.py clean
before every new build attempt.
I installed gcc v.5.4.0 now. Still same behavior though when I try to build spconv v1.0 (commit 8da6f96).
$ conda list
# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/PCDet:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
binutils_impl_linux-64 2.28.1 had2808c_3
binutils_linux-64 5.4.0 had2808c_24
blas 1.0 mkl
bzip2 1.0.8 h7b6447c_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py36_0
cffi 1.14.0 py36he30daa8_1
cmake 3.14.0 h52cb24c_0
cudatoolkit 9.0 h13b8566_0
cudnn 7.6.5 cuda9.0_0
expat 2.2.6 he6710b0_0
freetype 2.9.1 h8a8886c_1
gcc_impl_linux-64 5.4.0 habb00fd_3
gcc_linux-64 5.4.0 h98af8de_24
gxx_impl_linux-64 5.4.0 hdf63c60_3
gxx_linux-64 5.4.0 h98af8de_24
intel-openmp 2020.1 217
jpeg 9b h024ee3a_2
krb5 1.17.1 h173b8e3_0
ld_impl_linux-64 2.33.1 h53a641e_7
libcurl 7.69.1 h20c2e04_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.3 he6710b0_1
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libpng 1.6.37 hbc83047_0
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_0
mkl 2020.1 217
mkl-service 2.3.0 py36he904b0f_0
mkl_fft 1.0.15 py36ha843d7b_0
mkl_random 1.1.1 py36h0573a6f_0
ncurses 6.2 he6710b0_1
ninja 1.9.0 py36hfd86e86_0
numpy 1.18.1 py36h4f9e942_0
numpy-base 1.18.1 py36hde5b4d6_1
olefile 0.46 py36_0
openssl 1.1.1g h7b6447c_0
pillow 7.1.2 py36hb39fc2d_0
pip 20.0.2 py36_3
pycparser 2.20 py_0
python 3.6.10 h7579374_2
pytorch 1.1.0 py3.6_cuda9.0.176_cudnn7.5.1_0 pytorch
readline 8.0 h7b6447c_0
rhash 1.3.8 h1ba5d50_0
setuptools 46.4.0 py36_0
six 1.14.0 py36_0
sqlite 3.31.1 h62c20be_1
tk 8.6.8 hbc83047_0
torchvision 0.3.0 py36_cu9.0.176_1 pytorch
wheel 0.34.2 py36_0
xz 5.2.5 h7b6447c_0
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
(PCDet) mhahner@hox:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ CUDA_ROOT=/scratch_net/hox/mhahner/apps/cuda-9.1 python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/__init__.py -> build/lib.linux-x86_64-3.6/spconv
creating build/lib.linux-x86_64-3.6/spconv/utils
copying spconv/utils/__init__.py -> build/lib.linux-x86_64-3.6/spconv/utils
running build_ext
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/lib.linux-x86_64-3.6
Release
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 9.1.85
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /scratch_net/hox/mhahner/apps/cuda-9.1 (found version "9.1")
-- Caffe2: CUDA detected: 9.1
-- Caffe2: CUDA nvcc is: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc
-- Caffe2: CUDA toolkit directory: /scratch_net/hox/mhahner/apps/cuda-9.1
-- Caffe2: Header version is: 9.1
-- Found CUDNN: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/include
-- Found cuDNN: v7.6.5 (include: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/include, library: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/lib/libcudnn.so)
-- Autodetected CUDA architecture(s): 6.1
-- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
-- Found torch: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/lib/libtorch.so
-- Found PythonInterp: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/python3.6 (found suitable version "3.6.10", minimum required is "3.6")
-- Found PythonLibs: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/libpython3.6m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
-- Configuring done
-- Generating done
-- Build files have been written to: /scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/temp.linux-x86_64-3.6
Scanning dependencies of target spconv_nms
Scanning dependencies of target spconv
[ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 14%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 21%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 28%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 35%] Linking CUDA device code CMakeFiles/spconv_nms.dir/cmake_device_link.o
[ 42%] Linking CUDA shared library ../../../lib.linux-x86_64-3.6/spconv/libspconv_nms.so
[ 42%] Built target spconv_nms
Scanning dependencies of target spconv_utils
[ 50%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/utils/all.cc:15:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/nms.h:20:30: fatal error: boost/geometry.hpp: No such file or directory
compilation terminated.
src/utils/CMakeFiles/spconv_utils.dir/build.make:62: recipe for target 'src/utils/CMakeFiles/spconv_utils.dir/all.cc.o' failed
make[2]: *** [src/utils/CMakeFiles/spconv_utils.dir/all.cc.o] Error 1
CMakeFiles/Makefile2:202: recipe for target 'src/utils/CMakeFiles/spconv_utils.dir/all' failed
make[1]: *** [src/utils/CMakeFiles/spconv_utils.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 57%] Building CXX object src/spconv/CMakeFiles/spconv.dir/reordering.cc.o
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:22:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:21:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPool(at::Tensor, at::Tensor, at::Tensor, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:37:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPoolBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:73:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:18:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc: At global scope:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: error: 'RegisterOperators' is not a member of 'torch'
torch::RegisterOperators()
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: note: suggested alternative:
In file included from /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/script.h:5:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:16:
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/csrc/jit/custom_operator.h:221:18: note: 'torch::jit::RegisterOperators'
struct TORCH_API RegisterOperators {
^
src/spconv/CMakeFiles/spconv.dir/build.make:75: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/spconv/CMakeFiles/spconv.dir/build.make:62: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, double, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, double, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
src/spconv/CMakeFiles/spconv.dir/build.make:88: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cu.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cu.o] Error 1
CMakeFiles/Makefile2:108: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 103, in <module>
zip_safe=False,
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 39, in run
self.build_extension(ext)
File "setup.py", line 87, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
@MartinHahner88 You need to install boost firstly, please try the following step:
conda install libboost
project xxx
is ok:
include_directories(/PATH_TO_YOUR_ANACONDA/anaconda3/envs/PCDet/include)
@sshaoshuai: Thanks for still helping me out here!
I successfully installed libboost
via conda install libboost
,
but maybe I did not get your 2. point, because the build still crashed.
Did you mean it like that (see below) in CMakeList.txt
?
cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(SparseConv LANGUAGES CXX CUDA VERSION 1.0) include_directories(/home/mhahner/scratch/apps/anaconda3/envs/PCDet/include)
option(SPCONV_BuildTests "Build the unit tests when BUILD_TESTING is enabled." ON) set(CMAKE_CXX_EXTENSIONS OFF) # avoid gnu++11 be added to CXX flags
Yes, so what's your error now? Could you post the build log like before?
(PCDet) mhahner@hox:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ conda list
# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/PCDet:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
binutils_impl_linux-64 2.28.1 had2808c_3
binutils_linux-64 5.4.0 had2808c_24
blas 1.0 mkl
bzip2 1.0.8 h7b6447c_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py36_0
cffi 1.14.0 py36he30daa8_1
cmake 3.14.0 h52cb24c_0
cudatoolkit 9.0 h13b8566_0
cudnn 7.6.5 cuda9.0_0
expat 2.2.6 he6710b0_0
freetype 2.9.1 h8a8886c_1
gcc_impl_linux-64 5.4.0 habb00fd_3
gcc_linux-64 5.4.0 h98af8de_24
gxx_impl_linux-64 5.4.0 hdf63c60_3
gxx_linux-64 5.4.0 h98af8de_24
icu 58.2 he6710b0_3
intel-openmp 2020.1 217
jpeg 9b h024ee3a_2
krb5 1.17.1 h173b8e3_0
ld_impl_linux-64 2.33.1 h53a641e_7
libboost 1.71.0 h97c9712_0
libcurl 7.69.1 h20c2e04_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.3 he6710b0_1
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libpng 1.6.37 hbc83047_0
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_0
mkl 2020.1 217
mkl-service 2.3.0 py36he904b0f_0
mkl_fft 1.0.15 py36ha843d7b_0
mkl_random 1.1.1 py36h0573a6f_0
ncurses 6.2 he6710b0_1
ninja 1.9.0 py36hfd86e86_0
numpy 1.18.1 py36h4f9e942_0
numpy-base 1.18.1 py36hde5b4d6_1
olefile 0.46 py36_0
openssl 1.1.1g h7b6447c_0
pillow 7.1.2 py36hb39fc2d_0
pip 20.0.2 py36_3
pycparser 2.20 py_0
python 3.6.10 h7579374_2
pytorch 1.1.0 py3.6_cuda9.0.176_cudnn7.5.1_0 pytorch
readline 8.0 h7b6447c_0
rhash 1.3.8 h1ba5d50_0
setuptools 46.4.0 py36_0
six 1.14.0 py36_0
sqlite 3.31.1 h62c20be_1
tk 8.6.8 hbc83047_0
torchvision 0.3.0 py36_cu9.0.176_1 pytorch
wheel 0.34.2 py36_0
xz 5.2.5 h7b6447c_0
zlib 1.2.11 h7b6447c_3
zstd 1.3.7 h0b5b093_0
(PCDet) mhahner@hox:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ CUDA_ROOT=/scratch_net/hox/mhahner/apps/cuda-9.1 python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/__init__.py -> build/lib.linux-x86_64-3.6/spconv
creating build/lib.linux-x86_64-3.6/spconv/utils
copying spconv/utils/__init__.py -> build/lib.linux-x86_64-3.6/spconv/utils
running build_ext
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/lib.linux-x86_64-3.6
Release
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 9.1.85
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /scratch_net/hox/mhahner/apps/cuda-9.1 (found version "9.1")
-- Caffe2: CUDA detected: 9.1
-- Caffe2: CUDA nvcc is: /scratch_net/hox/mhahner/apps/cuda-9.1/bin/nvcc
-- Caffe2: CUDA toolkit directory: /scratch_net/hox/mhahner/apps/cuda-9.1
-- Caffe2: Header version is: 9.1
-- Found CUDNN: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/include
-- Found cuDNN: v7.6.5 (include: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/include, library: /scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/lib/libcudnn.so)
-- Autodetected CUDA architecture(s): 6.1
-- Added CUDA NVCC flags for: -gencode;arch=compute_61,code=sm_61
-- Found torch: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/lib/libtorch.so
-- Found PythonInterp: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/python3.6 (found suitable version "3.6.10", minimum required is "3.6")
-- Found PythonLibs: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/libpython3.6m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
-- Configuring done
-- Generating done
-- Build files have been written to: /scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/temp.linux-x86_64-3.6
Scanning dependencies of target spconv_nms
Scanning dependencies of target spconv
[ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 21%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 28%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 21%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 35%] Linking CUDA device code CMakeFiles/spconv_nms.dir/cmake_device_link.o
[ 42%] Linking CUDA shared library ../../../lib.linux-x86_64-3.6/spconv/libspconv_nms.so
[ 42%] Built target spconv_nms
[ 50%] Building CXX object src/spconv/CMakeFiles/spconv.dir/reordering.cc.o
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:21:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPool(at::Tensor, at::Tensor, at::Tensor, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:37:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPoolBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:73:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:18:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:22:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc: At global scope:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: error: 'RegisterOperators' is not a member of 'torch'
torch::RegisterOperators()
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: note: suggested alternative:
In file included from /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/script.h:5:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:16:
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/csrc/jit/custom_operator.h:221:18: note: 'torch::jit::RegisterOperators'
struct TORCH_API RegisterOperators {
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
src/spconv/CMakeFiles/spconv.dir/build.make:62: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target spconv_utils
src/spconv/CMakeFiles/spconv.dir/build.make:75: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
[ 57%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, double, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, double, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
src/spconv/CMakeFiles/spconv.dir/build.make:88: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cu.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cu.o] Error 1
CMakeFiles/Makefile2:108: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 64%] Linking CXX shared library ../../../lib.linux-x86_64-3.6/spconv/spconv_utils.cpython-36m-x86_64-linux-gnu.so
[ 64%] Built target spconv_utils
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 103, in <module>
zip_safe=False,
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 39, in run
self.build_extension(ext)
File "setup.py", line 87, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
@MartinHahner88 Ok, the boost error is gone now.
I notice another error in your build log:
torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
The reason may be the un-matched version of CUDA and pytorch.
Your pytorch version is py3.6_cuda9.0.176_cudnn7.5.1_0
, but when you build the spconv, your CUDA version is CUDA 9.1
.
Could you use CUDA 9.0 to build spconv?
conda environment unchanged:
(PCDet) mhahner@biwirender04:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ CUDA_ROOT=/scratch_net/hox/mhahner/apps/cuda-9.0 python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.6/spconv
copying spconv/__init__.py -> build/lib.linux-x86_64-3.6/spconv
creating build/lib.linux-x86_64-3.6/spconv/utils
copying spconv/utils/__init__.py -> build/lib.linux-x86_64-3.6/spconv/utils
running build_ext
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/lib.linux-x86_64-3.6
Release
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 9.0.176
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.0/bin/nvcc
-- Check for working CUDA compiler: /scratch_net/hox/mhahner/apps/cuda-9.0/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /scratch_net/hox/mhahner/apps/cuda-9.0 (found version "9.0")
-- Caffe2: CUDA detected: 9.0
-- Caffe2: CUDA nvcc is: /scratch_net/hox/mhahner/apps/cuda-9.0/bin/nvcc
-- Caffe2: CUDA toolkit directory: /scratch_net/hox/mhahner/apps/cuda-9.0
-- Caffe2: Header version is: 9.0
-- Found CUDNN: /scratch_net/hox/mhahner/apps/cuda-9.0/include
-- Found cuDNN: v7.1.3 (include: /scratch_net/hox/mhahner/apps/cuda-9.0/include, library: /scratch_net/hox/mhahner/apps/cuda-9.0/lib64/libcudnn.so)
-- Autodetected CUDA architecture(s): 3.5
-- Added CUDA NVCC flags for: -gencode;arch=compute_35,code=sm_35
-- Found torch: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/lib/libtorch.so
-- Found PythonInterp: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/bin/python3.6 (found suitable version "3.6.10", minimum required is "3.6")
-- Found PythonLibs: /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/libpython3.6m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
-- Configuring done
CMake Warning at src/spconv/CMakeLists.txt:1 (add_library):
Cannot generate a safe runtime search path for target spconv because there
is a cycle in the constraint graph:
dir 0 is [/scratch_net/hox/mhahner/apps/cuda-9.0/lib64]
dir 3 must precede it due to runtime library [libnvrtc.so.9.0]
dir 1 is [/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/lib]
dir 2 is [/scratch_net/hox/mhahner/apps/cuda-9.0/lib64/stubs]
dir 3 is [/scratch_net/hox/mhahner/apps/anaconda3/envs/PCDet/lib]
dir 0 must precede it due to runtime library [libcudart.so.9.0]
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/temp.linux-x86_64-3.6
Scanning dependencies of target spconv_nms
Scanning dependencies of target spconv
[ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 28%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 28%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 28%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 35%] Linking CUDA device code CMakeFiles/spconv_nms.dir/cmake_device_link.o
[ 42%] Linking CUDA shared library ../../../lib.linux-x86_64-3.6/spconv/libspconv_nms.so
[ 42%] Built target spconv_nms
Scanning dependencies of target spconv_utils
[ 50%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:21:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPool(at::Tensor, at::Tensor, at::Tensor, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:37:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPoolBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:73:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:18:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:22:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc: At global scope:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: error: 'RegisterOperators' is not a member of 'torch'
torch::RegisterOperators()
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: note: suggested alternative:
In file included from /home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/script.h:5:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:16:
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/torch/csrc/jit/custom_operator.h:221:18: note: 'torch::jit::RegisterOperators'
struct TORCH_API RegisterOperators {
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
src/spconv/CMakeFiles/spconv.dir/build.make:62: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/spconv/CMakeFiles/spconv.dir/build.make:75: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/core/TensorMethods.h:1181:57: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor&, at::Tensor&, at::Tensor&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:2426:85: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3119:197: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector<at::Tensor, std::allocator<at::Tensor> > >::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3122:267: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3317:143: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, at::Tensor, at::Tensor>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, at::Tensor>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3608:127: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_<is_constructible<_Elements, _UElements&&>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<at::Tensor, at::Tensor, double, long int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, double, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_<is_convertible<_UElements&&, _Elements>...>::value;
^~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor, at::Tensor, double, long int>&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<const tuple<_Elements ...>&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor, at::Tensor, double, long int>&&; bool <anonymous> = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, double, long int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, double, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, double, long int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]’
/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/torch/include/ATen/Functions.h:3878:69: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
src/spconv/CMakeFiles/spconv.dir/build.make:88: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cu.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cu.o] Error 1
CMakeFiles/Makefile2:108: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 57%] Linking CXX shared library ../../../lib.linux-x86_64-3.6/spconv/spconv_utils.cpython-36m-x86_64-linux-gnu.so
[ 57%] Built target spconv_utils
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 103, in <module>
zip_safe=False,
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 39, in run
self.build_extension(ext)
File "setup.py", line 87, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/mhahner/scratch/apps/anaconda3/envs/PCDet/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
@MartinHahner88 Sorry, I have no idea about it.... But I saw others solved this problem by re-installing pytorch and torchvision, maybe you could have a try.
@sshaoshuai: Thanks for your efforts, the hint about libboost
was still useful.
Trying to use a CUDA 9.2 environment unfortunately also did not succeed.
(cuda9-2) mhahner@hox:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ conda list
# packages in environment at /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
binutils_impl_linux-64 2.28.1 had2808c_3
binutils_linux-64 5.4.0 had2808c_24
blas 1.0 mkl
boost 1.67.0 py37_4
bzip2 1.0.8 h7b6447c_0
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py37_0
cffi 1.14.0 py37h2e261b9_0
chardet 3.0.4 py37_1003
cmake 3.17.0 h28c56e5_0 conda-forge
conda 4.8.3 py37hc8dfbb8_1 conda-forge
conda-package-handling 1.6.1 py37h7b6447c_0
cryptography 2.9.2 py37h1ba5d50_0
cudatoolkit 9.2 0
cudatoolkit-dev 9.2 py37_1 conda-forge
cudnn 7.6.5 cuda9.2_0
expat 2.2.9 he1b5a44_2 conda-forge
freetype 2.9.1 h8a8886c_1
gcc_impl_linux-64 5.4.0 habb00fd_3
gcc_linux-64 5.4.0 h98af8de_24
gxx_impl_linux-64 5.4.0 hdf63c60_3
gxx_linux-64 5.4.0 h98af8de_24
icu 58.2 he6710b0_3
idna 2.9 py_1
intel-openmp 2020.1 217
jpeg 9b h024ee3a_2
krb5 1.17.1 h173b8e3_0
ld_impl_linux-64 2.33.1 h53a641e_7
libboost 1.67.0 h46d08c1_4
libcurl 7.69.1 h20c2e04_0
libedit 3.1.20181209 hc058e9b_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libpng 1.6.37 hbc83047_0
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.1.0 hdf63c60_0
libtiff 4.1.0 h2733197_1
libuv 1.26.0 h7b6447c_0
lz4-c 1.9.2 he6710b0_0
mkl 2020.1 217
mkl-service 2.3.0 py37he904b0f_0
mkl_fft 1.0.15 py37ha843d7b_0
mkl_random 1.1.1 py37h0573a6f_0
ncurses 6.1 he6710b0_1
ninja 1.9.0 py37hfd86e86_0
numpy 1.18.1 py37h4f9e942_0
numpy-base 1.18.1 py37hde5b4d6_1
olefile 0.46 py37_0
openssl 1.1.1g h7b6447c_0
pillow 7.1.2 py37hb39fc2d_0
pip 20.0.2 py37_3
py-boost 1.67.0 py37h04863e7_4
pycosat 0.6.3 py37h7b6447c_0
pycparser 2.20 py_0
pyopenssl 19.1.0 py37_0
pysocks 1.7.1 py37_0
python 3.7.6 cpython_h8356626_6 conda-forge
python_abi 3.7 1_cp37m conda-forge
pytorch 1.1.0 cuda92py37h65efead_0
readline 8.0 h7b6447c_0
requests 2.23.0 py37_0
rhash 1.3.8 h1ba5d50_0
ruamel_yaml 0.15.87 py37h7b6447c_0
setuptools 46.4.0 py37_0
six 1.14.0 py37_0
sqlite 3.31.1 h7b6447c_0
tk 8.6.10 hed695b0_0 conda-forge
torchvision 0.2.2 py_3 pytorch
tqdm 4.46.0 py_0
urllib3 1.25.8 py37_0
wheel 0.34.2 py37_0
xz 5.2.5 h7b6447c_0
yaml 0.1.7 had09818_2
zlib 1.2.11 h7b6447c_3
zstd 1.4.4 h0b5b093_3
(cuda9-2) mhahner@hox:/scratch_net/hox/mhahner/repositories/spconv_8da6f96 ((HEAD detached from 8da6f96))
$ CUDA_ROOT=/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2 python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/spconv
copying spconv/functional.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/ops.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/pool.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/modules.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/conv.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/test_utils.py -> build/lib.linux-x86_64-3.7/spconv
copying spconv/__init__.py -> build/lib.linux-x86_64-3.7/spconv
creating build/lib.linux-x86_64-3.7/spconv/utils
copying spconv/utils/__init__.py -> build/lib.linux-x86_64-3.7/spconv/utils
running build_ext
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/lib.linux-x86_64-3.7
Release
-- The CXX compiler identification is GNU 5.4.0
-- The CUDA compiler identification is NVIDIA 9.2.148
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working CUDA compiler: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/nvcc
-- Check for working CUDA compiler: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/nvcc - works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2 (found version "9.2")
-- Caffe2: CUDA detected: 9.2
-- Caffe2: CUDA nvcc is: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/nvcc
-- Caffe2: CUDA toolkit directory: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2
-- Caffe2: Header version is: 9.2
CMake Warning (dev) at /scratch_net/hox/mhahner/apps/anaconda3/envs/cuda9-2/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (CUDNN) does
not match the name of the calling package (Caffe2). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:107 (find_package_handle_standard_args)
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:23 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found CUDNN: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/include
-- Found cuDNN: v7.6.5 (include: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/include, library: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/libcudnn.so)
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX
-- Added CUDA NVCC flags for: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_70,code=compute_70
CMake Warning (dev) at /scratch_net/hox/mhahner/apps/anaconda3/envs/cuda9-2/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to `find_package_handle_standard_args` (torch) does
not match the name of the calling package (Torch). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:23 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found torch: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/lib/libtorch.so
-- Found PythonInterp: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/bin/python3.7 (found suitable version "3.7.6", minimum required is "3.7")
-- Found PythonLibs: /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/libpython3.7m.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
-- Configuring done
CMake Warning at src/spconv/CMakeLists.txt:1 (add_library):
Cannot generate a safe runtime search path for target spconv because files
in some directories may conflict with libraries in implicit directories:
runtime library [libnvToolsExt.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib64
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /scratch_net/hox/mhahner/repositories/spconv_8da6f96/build/temp.linux-x86_64-3.7
Scanning dependencies of target spconv
Scanning dependencies of target spconv_nms
[ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 30%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 38%] Linking CUDA shared library ../../../lib.linux-x86_64-3.7/spconv/libspconv_nms.so
[ 38%] Built target spconv_nms
[ 46%] Building CXX object src/spconv/CMakeFiles/spconv.dir/reordering.cc.o
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:21:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPool(at::Tensor, at::Tensor, at::Tensor, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:37:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h: In function 'at::Tensor spconv::indiceMaxPoolBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/pool_ops.h:73:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:18:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:22:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h: In function 'tv::TensorView<T> tv::torch2tv(const at::Tensor&)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:27: error: expected primary-expression before '(' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:65: error: expected primary-expression before '>' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/torch_utils.h:64:68: error: expected primary-expression before ')' token
return tv::TensorView<T>(tensor.data_ptr<std::remove_const_t<T>>(), shape);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc: At global scope:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: error: 'RegisterOperators' is not a member of 'torch'
torch::RegisterOperators()
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:21:5: note: suggested alternative:
In file included from /home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/include/torch/script.h:5:0,
from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/all.cc:16:
/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/torch/include/torch/csrc/jit/custom_operator.h:221:18: note: 'torch::jit::RegisterOperators'
struct TORCH_API RegisterOperators {
^
In file included from /scratch_net/hox/mhahner/repositories/spconv_8da6f96/src/spconv/indice.cc:17:0:
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConv(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:266:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:267:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:269:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:300:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:306:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:308:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'std::vector<at::Tensor> spconv::indiceConvBackward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:369:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:370:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:372:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:391:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:49: error: expected primary-expression before '>' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:418:51: error: expected primary-expression before ')' token
torch::from_blob(outputBuffer.data_ptr<T>(), {nHot, numOutPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:48: error: expected primary-expression before '>' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:420:50: error: expected primary-expression before ')' token
torch::from_blob(inputBuffer.data_ptr<T>(), {nHot, numInPlanes}, options);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h: In function 'at::Tensor spconv::indiceConvDevelopDontUse(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int64_t, int64_t, int64_t)':
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:454:46: error: expected primary-expression before 'int'
auto totalActs = indicePairNumCpu.data_ptr<int>()[0];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:456:50: error: expected primary-expression before 'int'
std::max_element(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:457:50: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() + kernelVolume);
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:459:57: error: expected primary-expression before 'int'
indicePairMaxSizeIter - indicePairNumCpu.data_ptr<int>();
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:461:63: error: expected primary-expression before 'int'
std::vector<int> indicePairNumVec(indicePairNumCpu.data_ptr<int>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:462:63: error: expected primary-expression before 'int'
indicePairNumCpu.data_ptr<int>() +
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:491:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:496:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:498:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:521:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:525:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:527:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:535:43: error: expected primary-expression before 'int'
auto nHot = indicePairNumCpu.data_ptr<int>()[i];
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:72: error: expected primary-expression before '>' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:539:74: error: expected primary-expression before ')' token
auto outputBufferBlob = torch::from_blob(outputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:70: error: expected primary-expression before '>' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
/scratch_net/hox/mhahner/repositories/spconv_8da6f96/include/spconv/spconv_ops.h:541:72: error: expected primary-expression before ')' token
auto inputBufferBlob = torch::from_blob(inputBuffer[i].data_ptr<T>(),
^
Segmentation fault
src/spconv/CMakeFiles/spconv.dir/build.make:105: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cu.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cu.o] Error 139
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target spconv_utils
[ 53%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
src/spconv/CMakeFiles/spconv.dir/build.make:79: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
src/spconv/CMakeFiles/spconv.dir/build.make:92: recipe for target 'src/spconv/CMakeFiles/spconv.dir/indice.cc.o' failed
make[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'src/spconv/CMakeFiles/spconv.dir/all' failed
make[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 61%] Linking CXX shared library ../../../lib.linux-x86_64-3.7/spconv/spconv_utils.cpython-37m-x86_64-linux-gnu.so
[ 61%] Built target spconv_utils
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 103, in <module>
zip_safe=False,
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 39, in run
self.build_extension(ext)
File "setup.py", line 87, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/mhahner/scratch/apps/anaconda3/envs/cuda9-2/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
I have no idea about that ...
Maybe you could create a new environment and try to install pytorch with pip, like pip install torch==1.1
, and I generally use cuda 9.0 for pytorch 1.1.
Finally SOLVED!
The final issue was, that we tried to build spconv on a Tesla K40 GPU, which has a Kepler architecture and is seemingly too old to build spconv.
The reason why we always tried to build spconv on a Tesla K40 is that in our lab, it is hard to get a GPU on our GPU cluster interactively. (Usually, you can only submit jobs via qsub/SLURM.) So we always tried to build spconv either on our local Linux clients or on old nodes which only have Tesla K40s. Then, out of despair, we tried to build spconv on a Titan X (Pascal) and we finally found a combination of requirements that worked.
So here is our solution:
conda create --name PCDet python=3.6 pytorch=1.1 cudatoolkit=9.2 cudatoolkit-dev=9.2 \
cmake --channel pytorch --channel=conda-forge
conda activate PCDet
conda install cudnn
conda install boost
git clone https://github.com/traveller59/spconv spconv_8da6f96 --recursive
cd spconv_8da6f96
git checkout 8da6f967fb9a054d8870c3515b1b44eca2103634
If necessary: Download and extract 0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch.zip and patch spconv via:
git am <PATH_TO_EXTRACTED_FILE>/0001-Allow-to-specifiy-CUDA_ROOT-directory-and-pick-corre.patch
CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py bdist_wheel
cd dist/
pip install *
Test spconv via:
python -c 'import spconv'
(should just return and not raise any errors)
cd ../..
git clone https://github.com/sshaoshuai/PCDet.git
cd PCDet/
pip install -r requirements.txt
CUDA_ROOT=<PATH_TO_YOUR_CONDA_INSTALLATION>/conda_envs/PCDet python setup.py develop
Done!
I hope these instructions help someone else who struggles to build spconv as well.
@MartinHahner88 Great! Thank you for the detailed instruction!
@sshaoshuai: maybe add or reference these instructions in INSTALL.md (e.g. as known issues)
it seems to be the way to go for many people to get the repository running 🏃
` CUDA_ROOT=/usr/local/cuda-11.0 python setup.py develop running develop running egg_info writing pcdet.egg-info/PKG-INFO writing dependency_links to pcdet.egg-info/dependency_links.txt writing requirements to pcdet.egg-info/requires.txt writing top-level names to pcdet.egg-info/top_level.txt /opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py:339: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'pcdet.egg-info/SOURCES.txt' writing manifest file 'pcdet.egg-info/SOURCES.txt' running build_ext building 'pcdet.ops.iou3d_nms.iou3d_nms_cuda' extension gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.6m -c pcdet/ops/iou3d_nms/src/iou3d_cpu.cpp -o build/temp.linux-x86_64-3.6/pcdet/ops/iou3d_nms/src/iou3d_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=iou3d_nms_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12, from /opt/conda/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from pcdet/ops/iou3d_nms/src/iou3d_cpu.cpp:10: /opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
^ pcdet/ops/iou3d_nms/src/iou3d_cpu.cpp:12:18: fatal error: cuda.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 `
Training PointPillars and SECOND works fine, but when I try to train PartA^2Net, I get this error message after addressing issue #70:
My conda environment looks like this: