Pytorch3d: Building / installing from source error

Created on 24 Mar 2020  Â·  10Comments  Â·  Source: facebookresearch/pytorch3d

Hi,
*I'm on Ubunto 18.04.1
I follow your instruction to install pytorch3d in [install.md (https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md)
and in the last point Building / installing from source i tried to install through
pip install 'git+https://github.com/facebookresearch/pytorch3d.git'
and i got this error:
`(pytorch3d) adminpassis123:~/Downloads/pytorch3d/docs/tutorials$ pip install 'git+https://github.com/facebookresearch/pytorch3d.git'
Collecting git+https://github.com/facebookresearch/pytorch3d.git
Cloning https://github.com/facebookresearch/pytorch3d.git to /tmp/pip-req-build-n3ju_r0f
Running command git clone -q https://github.com/facebookresearch/pytorch3d.git /tmp/pip-req-build-n3ju_r0f
Requirement already satisfied (use --upgrade to upgrade): pytorch3d==0.1.1 from git+https://github.com/facebookresearch/pytorch3d.git in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages
Requirement already satisfied: torchvision>=0.4 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from pytorch3d==0.1.1) (0.5.0)
Requirement already satisfied: fvcore in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from pytorch3d==0.1.1) (0.1.dev200114)
Requirement already satisfied: numpy in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.18.1)
Requirement already satisfied: six in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.14.0)
Requirement already satisfied: torch in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.4.0)
Requirement already satisfied: pillow>=4.1.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (7.0.0)
Requirement already satisfied: yacs>=0.1.6 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (0.1.6)
Requirement already satisfied: tqdm in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (4.43.0)
Requirement already satisfied: termcolor>=1.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (1.1.0)
Requirement already satisfied: pyyaml>=5.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (5.3.1)
Requirement already satisfied: portalocker in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (1.5.2)
Building wheels for collected packages: pytorch3d
Building wheel for pytorch3d (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/adminpassis123/anaconda3/envs/pytorch3d/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-n3ju_r0f/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-n3ju_r0f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xjiilr7k
cwd: /tmp/pip-req-build-n3ju_r0f/
Complete output (423 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/pytorch3d
copying pytorch3d/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d
creating build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/so3.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/transform3d.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/rotation_conversions.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
creating build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/torus.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/ico_sphere.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
creating build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_normal_consistency.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_edge_loss.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_laplacian_smoothing.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/chamfer.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
creating build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/obj_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/ply_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/blending.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/cameras.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/materials.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/lighting.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/compositing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
creating build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/cubify.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/mesh_face_areas_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/nearest_neighbor_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/vert_align.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/graph_conv.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/sample_points_from_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/subdivide_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/packed_to_padded.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
creating build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/pointclouds.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/textures.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/texturing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shader.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterize_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shading.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterize_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/compositor.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
running build_ext
building 'pytorch3d._C' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/tmp
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/packed_to_padded_tensor
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_points
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/face_areas_normals
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_meshes
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/gather_scatter
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/ext.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/ext.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbors_points_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbors_points_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp: In function ‘at::Tensor PaddedToPackedCpu(at::Tensor, at::Tensor, int64_t)’:
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp:41:17: warning: unused variable ‘max_size’ [-Wunused-variable]
const int64_t max_size = inputs_padded.size(1);
^~~~
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_points/rasterize_points_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_points/rasterize_points_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp: In function ‘std::tuple FaceAreasNormalsForwardCpu(at::Tensor, at::Tensor)’:
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp:9:13: warning: unused variable ‘V’ [-Wunused-variable]
const int V = verts.size(0);
^
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/alpha_composite_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/alpha_composite_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/weighted_sum_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/compositing/weighted_sum_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp: In function ‘at::Tensor RasterizeMeshesCoarseCpu(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int)’:
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp:418:8: warning: variable ‘faces_per_bin_a’ set but not used [-Wunused-but-set-variable]
auto faces_per_bin_a = faces_per_bin.accessor();
^~~~~~~
/usr/bin/nvcc -DWITH_CUDA -I/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++11
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple > >&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple > >&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple > >&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple > >&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, 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, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, 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, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple:484:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu: In lambda function:
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu:231:95: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(p1.type(), "nearest_neighbor_v3_cuda", ([&] {
^
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:31:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) {
^~~
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu: In lambda function:
/tmp/pip-req-build-n3ju_r0f/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu:245:95: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(
^
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:31:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) {
^~~
error: command '/usr/bin/nvcc' failed with exit status 1


ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Failed to build pytorch3d
(pytorch3d) adminpassis123:~/Downloads/pytorch3d/docs/tutorials$
`
How i can fix it?

question

All 10 comments

I think the compiler is too old. An error like body of constexpr function ... not a return-statement sounds like it understands C++11 but not C++14.

Can you use a different compiler or use a prebuilt package for pytorch3d?

hello bottler
i have gcc 9.2.1
image

Interesting. Something funny is happening. I notice that in the compiler flags, there is -std=c++14 (which is good) for the nine compilations of c++ files, and the failure is from the one cuda compilation, which has a -std=c++11, specifically for nearest_neighbor_points.cu.
Can you try running export NVCC_FLAGS=-std=c++14 and trying again?

(If that works, we can modify setup.py to make this automatic; not sure why this problem only surfaced now.)

i tried then i got a similar error:
`Collecting git+https://github.com/facebookresearch/pytorch3d.git
Cloning https://github.com/facebookresearch/pytorch3d.git to /tmp/pip-req-build-_d376w0l
Running command git clone -q https://github.com/facebookresearch/pytorch3d.git /tmp/pip-req-build-_d376w0l
Requirement already satisfied (use --upgrade to upgrade): pytorch3d==0.1.1 from git+https://github.com/facebookresearch/pytorch3d.git in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages
Requirement already satisfied: torchvision>=0.4 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from pytorch3d==0.1.1) (0.5.0)
Requirement already satisfied: fvcore in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from pytorch3d==0.1.1) (0.1.dev200114)
Requirement already satisfied: numpy in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.18.1)
Requirement already satisfied: six in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.14.0)
Requirement already satisfied: torch in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (1.4.0)
Requirement already satisfied: pillow>=4.1.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from torchvision>=0.4->pytorch3d==0.1.1) (7.0.0)
Requirement already satisfied: termcolor>=1.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (1.1.0)
Requirement already satisfied: tqdm in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (4.43.0)
Requirement already satisfied: yacs>=0.1.6 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (0.1.6)
Requirement already satisfied: portalocker in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (1.5.2)
Requirement already satisfied: pyyaml>=5.1 in /home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages (from fvcore->pytorch3d==0.1.1) (5.3.1)
Building wheels for collected packages: pytorch3d
Building wheel for pytorch3d (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/adminpassis123/anaconda3/envs/pytorch3d/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-_d376w0l/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-_d376w0l/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rtxa099m
cwd: /tmp/pip-req-build-_d376w0l/
Complete output (329 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/pytorch3d
copying pytorch3d/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d
creating build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/so3.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/transform3d.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
copying pytorch3d/transforms/rotation_conversions.py -> build/lib.linux-x86_64-3.8/pytorch3d/transforms
creating build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/torus.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/ico_sphere.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
copying pytorch3d/utils/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/utils
creating build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_normal_consistency.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_edge_loss.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/mesh_laplacian_smoothing.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
copying pytorch3d/loss/chamfer.py -> build/lib.linux-x86_64-3.8/pytorch3d/loss
creating build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/obj_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
copying pytorch3d/io/ply_io.py -> build/lib.linux-x86_64-3.8/pytorch3d/io
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/blending.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/cameras.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/materials.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/lighting.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/compositing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
copying pytorch3d/renderer/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer
creating build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/cubify.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/mesh_face_areas_normals.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/nearest_neighbor_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/vert_align.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/graph_conv.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/sample_points_from_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/subdivide_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
copying pytorch3d/ops/packed_to_padded.py -> build/lib.linux-x86_64-3.8/pytorch3d/ops
creating build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/pointclouds.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/textures.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
copying pytorch3d/structures/meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/structures
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/texturing.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shader.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterize_meshes.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/shading.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
copying pytorch3d/renderer/mesh/utils.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/mesh
creating build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/renderer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterize_points.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/__init__.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/rasterizer.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
copying pytorch3d/renderer/points/compositor.py -> build/lib.linux-x86_64-3.8/pytorch3d/renderer/points
running build_ext
building 'pytorch3d._C' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/tmp
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/nearest_neighbor_points
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/packed_to_padded_tensor
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_points
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/face_areas_normals
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_meshes
creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/gather_scatter
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/ext.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/ext.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbors_points_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbors_points_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp: In function ‘at::Tensor PaddedToPackedCpu(at::Tensor, at::Tensor, int64_t)’:
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/packed_to_padded_tensor/packed_to_padded_tensor_cpu.cpp:41:17: warning: unused variable ‘max_size’ [-Wunused-variable]
41 | const int64_t max_size = inputs_padded.size(1);
| ^~~~
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_points/rasterize_points_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_points/rasterize_points_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp: In function ‘std::tuple FaceAreasNormalsForwardCpu(at::Tensor, at::Tensor)’:
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/face_areas_normals/face_areas_normals_cpu.cpp:9:13: warning: unused variable ‘V’ [-Wunused-variable]
9 | const int V = verts.size(0);
| ^
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/norm_weighted_sum_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/alpha_composite_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/alpha_composite_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/weighted_sum_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/compositing/weighted_sum_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /home/adminpassis123/anaconda3/envs/pytorch3d/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp: In function ‘at::Tensor RasterizeMeshesCoarseCpu(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int)’:
/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/rasterize_meshes/rasterize_meshes_cpu.cpp:418:8: warning: variable ‘faces_per_bin_a’ set but not used [-Wunused-but-set-variable]
418 | auto faces_per_bin_a = faces_per_bin.accessor();
| ^~~~~~~
/usr/bin/nvcc -DWITH_CUDA -I/tmp/pip-req-build-_d376w0l/pytorch3d/csrc -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/TH -I/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/THC -I/home/adminpassis123/anaconda3/envs/pytorch3d/include/python3.8 -c /tmp/pip-req-build-_d376w0l/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.cu -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-_d376w0l/pytorch3d/csrc/nearest_neighbor_points/nearest_neighbor_points.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/util/ArrayRef.h(278): warning: attribute does not apply to any entity

/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/core/TensorMethods.h:5613:173: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1523:480: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple > >}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple > >&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple > >&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, at::Tensor, at::Tensor, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, at::Tensor, at::Tensor, std::vector > >::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:1543:17: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (5ul >= 1)), bool>::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, 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, at::Tensor, long int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, 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, at::Tensor, long int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, 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, at::Tensor, long int>::_NonNestedTuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:2510:314: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (6, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, at::Tensor, at::Tensor}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:3338:302: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple}; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::_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 > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple}; 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 = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple&&; bool = true; _Elements = {at::Tensor, at::Tensor, double, long int}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::_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::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:5257:133: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (5, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:248: required by substitution of ‘template::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’
return __and_ ^~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:626:362: required by substitution of ‘template::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
return __and_...>::value;
^
~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:662:419: required by substitution of ‘template::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^~~~
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple::type > constexpr std::tuple< >::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::type = ]’
/home/adminpassis123/anaconda3/envs/pytorch3d/lib/python3.8/site-packages/torch/include/ATen/Functions.h:12220:194: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return __and_<__not_ ^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template struct std::is_convertible’
struct is_convertible
^
~~~
error: command '/usr/bin/nvcc' failed with exit status 1


ERROR: Failed building wheel for pytorch3d
Running setup.py clean for pytorch3d
Failed to build pytorch3d
`

Now the errors I mentioned have gone, and you are left with the other errors about is_constructible pack lengths in tuple code. This sounds similar to https://github.com/facebookarchive/caffe2/issues/1898 so I'm wondering if it's a bug in nvcc/cuda which has been fixed. can you run nvcc --version and tell us what you have, and maybe try with a newer version?

image

We generally say you need cuda 9.2 or newer to use the gpu parts of pytorch3d. Please upgrade, or build and use pytorch3d without cuda.

Hi @Haitham96
We haven't heard back from your regarding this issue. I believe it should be fixed after upgrading to cuda > 9.2. Please re-open this issue if the problem persists.

@gkioxari, I also encountered this error after update my cuda to cuda10.1. and I also try to install lower version pytorch3d, but also get the same error.
Hope you can help.thanks~

@visonpon I don't know what you mean by "this error", but it is likely that your error is not related to this issue. If you still would like help, please open a new issue with all the details.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elcronos picture elcronos  Â·  3Comments

shersoni610 picture shersoni610  Â·  3Comments

MarkTension picture MarkTension  Â·  3Comments

aluo-x picture aluo-x  Â·  3Comments

ldepn picture ldepn  Â·  3Comments