facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.29k stars 7.45k forks source link

Command error red out with exit status 1 #2268

Closed Ksieber26 closed 3 years ago

Ksieber26 commented 3 years ago

I'm trying to analyse Detectron2 as part of my Bachelor's Thesis.Currently I'm trying to build Detectron2 from source on jupyterlab via ssh on Linux. When building the log failes at "Running setup.py develop for detectron2". Then the error "ERROR: Command errored out with exit status 1"

Instructions To Reproduce the Issue:

  1. I cloned the repo
  2. I tried to install it with "!python3 -m pip install -e detectron2_repo
  3. Error occurs

I made no changes in the files. Just trying to install as mentioned in Install.md on Github.

  1. Full runnable code or full changes you made:
    
    After running the command mentioned in 2. this is the output:
=1.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (1.1.0) Requirement already satisfied: Pillow>=7.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (8.0.1) Requirement already satisfied: yacs>=0.1.6 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (0.1.8) Requirement already satisfied: tabulate in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (0.8.7) Requirement already satisfied: cloudpickle in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (1.6.0) Requirement already satisfied: matplotlib in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (3.3.2) Requirement already satisfied: tqdm>4.29.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (4.51.0) Requirement already satisfied: tensorboard in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (2.3.0) Requirement already satisfied: fvcore>=0.1.2 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (0.1.2) Requirement already satisfied: pycocotools>=2.0.2 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (2.0.2) Requirement already satisfied: future in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (0.18.2) Requirement already satisfied: pydot in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from detectron2==0.3) (1.4.1) Requirement already satisfied: PyYAML in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from yacs>=0.1.6->detectron2==0.3) (5.1) Requirement already satisfied: certifi>=2020.06.20 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (2020.11.8) Requirement already satisfied: cycler>=0.10 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (0.10.0) Requirement already satisfied: numpy>=1.15 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (1.19.4) Requirement already satisfied: python-dateutil>=2.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (2.8.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (2.4.7) Requirement already satisfied: kiwisolver>=1.0.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from matplotlib->detectron2==0.3) (1.3.1) Requirement already satisfied: werkzeug>=0.11.15 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (1.0.1) Requirement already satisfied: setuptools>=41.0.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (50.3.2) Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (0.4.2) Requirement already satisfied: protobuf>=3.6.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (3.13.0) Requirement already satisfied: wheel>=0.26; python_version >= "3" in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (0.35.1) Requirement already satisfied: absl-py>=0.4 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (0.11.0) Requirement already satisfied: grpcio>=1.24.3 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (1.33.2) Requirement already satisfied: requests<3,>=2.21.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (2.24.0) Requirement already satisfied: six>=1.10.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (1.15.0) Requirement already satisfied: markdown>=2.6.8 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (3.3.3) Requirement already satisfied: google-auth<2,>=1.6.3 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (1.23.0) Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from tensorboard->detectron2==0.3) (1.7.0) Requirement already satisfied: portalocker in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from fvcore>=0.1.2->detectron2==0.3) (2.0.0) Requirement already satisfied: cython>=0.27.3 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from pycocotools>=2.0.2->detectron2==0.3) (0.29.21) Requirement already satisfied: requests-oauthlib>=0.7.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard->detectron2==0.3) (1.3.0) Requirement already satisfied: idna<3,>=2.5 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (2.10) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (1.25.11) Requirement already satisfied: chardet<4,>=3.0.2 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3) (3.0.4) Requirement already satisfied: importlib-metadata; python_version < "3.8" in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from markdown>=2.6.8->tensorboard->detectron2==0.3) (2.0.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.3) (0.2.8) Requirement already satisfied: cachetools<5.0,>=2.0.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.3) (4.1.1) Requirement already satisfied: rsa<5,>=3.1.4; python_version >= "3.5" in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.3) (4.6) Requirement already satisfied: oauthlib>=3.0.0 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard->detectron2==0.3) (3.1.0) Requirement already satisfied: zipp>=0.5 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->markdown>=2.6.8->tensorboard->detectron2==0.3) (3.4.0) Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard->detectron2==0.3) (0.4.8) Installing collected packages: detectron2 Running setup.py develop for detectron2 ERROR: Command errored out with exit status 1: command: /var/tmp/ga27cej/Pyt/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/setup.py'"'"'; __file__='"'"'/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps cwd: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/ Complete output (615 lines): running develop running egg_info writing detectron2.egg-info/PKG-INFO writing dependency_links to detectron2.egg-info/dependency_links.txt writing requirements to detectron2.egg-info/requires.txt writing top-level names to detectron2.egg-info/top_level.txt reading manifest file 'detectron2.egg-info/SOURCES.txt' writing manifest file 'detectron2.egg-info/SOURCES.txt' running build_ext building 'detectron2._C' extension Emitting ninja build file /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 ^~~~~~~~~~~~~~ [2/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 ^~~~~~~~~~~~~~ [3/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 ^~~~~~~~~~~~~~ [4/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 ^~~~~~~~~~~~~~ [5/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple >, std::vector > >}; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple >, std::vector > >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), at::Tensor, std::vector >, std::vector > >::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 >, std::vector > >&&; bool = true; _Elements = {at::Tensor, std::vector >, std::vector >}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor, std::vector >, std::vector >}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor, std::vector >, std::vector > >::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor, std::vector >, std::vector > >::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {at::Tensor, std::vector >, std::vector >}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/native/IndexingUtils.h:118:92: 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 ^~~~~~~~~~~~~~ [6/6] /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 FAILED: /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/TH -I/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/THC -I/var/tmp/ga27cej/Pyt/include -I/usr/include/python3.6m -c -c /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda.cu -o /var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/build/temp.linux-x86_64-3.6/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/detectron2/layers/csrc/deformable/deform_conv_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -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_52,code=sm_52 -std=c++14 /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/builtin_function.h(97): warning: statement is unreachable /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/core/builtin_function.h(97): warning: statement is unreachable /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /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 = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&>()), bool>::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&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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&&>()), bool>::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&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1396:58: required from ‘constexpr std::tuple::__type ...> std::make_tuple(_Elements&& ...) [with _Elements = {const at::Tensor&, const at::Tensor&, const at::Tensor&}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/ATen/ExpandUtils.h:93:58: 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 = {const c10::nullopt_t&}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {const c10::nullopt_t&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = const c10::nullopt_t&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1067:8: required from ‘struct std::__is_direct_constructible_new, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1075:8: required from ‘struct std::__is_direct_constructible, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1115:8: required from ‘struct std::__is_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1126:8: required from ‘struct std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:339:77: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type > constexpr c10::optional::optional(U&&) [with U = const c10::nullopt_t&; typename std::enable_if<(((std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {const c10::nullopt_t&}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {const c10::nullopt_t&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = const c10::nullopt_t&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1067:8: required from ‘struct std::__is_direct_constructible_new, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1075:8: required from ‘struct std::__is_direct_constructible, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1115:8: required from ‘struct std::__is_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /usr/include/c++/6/type_traits:1126:8: required from ‘struct std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, const c10::nullopt_t&>’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:339:77: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type > constexpr c10::optional::optional(U&&) [with U = const c10::nullopt_t&; typename std::enable_if<(((std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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>::_MoveConstructibleTuple() [with _UElements = {const std::tuple, std::allocator >, long unsigned int, long unsigned int>&}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {const std::tuple, std::allocator >, long unsigned int, long unsigned int>&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:314:67: required from ‘constexpr c10::optional::optional(c10::nullopt_t) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {const std::tuple, std::allocator >, long unsigned int, long unsigned int>&}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {const std::tuple, std::allocator >, long unsigned int, long unsigned int>&}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:314:67: required from ‘constexpr c10::optional::optional(c10::nullopt_t) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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, std::allocator >, long unsigned int, long unsigned int>&; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NonNestedTuple&>()), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:314:67: required from ‘constexpr c10::optional::optional(c10::nullopt_t) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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 = {c10::optional, std::allocator >, long unsigned int, long unsigned int> >}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {c10::optional, std::allocator >, long unsigned int, long unsigned int> >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1067:8: required from ‘struct std::__is_direct_constructible_new, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1075:8: required from ‘struct std::__is_direct_constructible, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1115:8: required from ‘struct std::__is_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1126:8: required from ‘struct std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:339:77: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type > constexpr c10::optional::optional(U&&) [with U = c10::optional, std::allocator >, long unsigned int, long unsigned int> >; typename std::enable_if<(((std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {c10::optional, std::allocator >, long unsigned int, long unsigned int> >}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {c10::optional, std::allocator >, long unsigned int, long unsigned int> >}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1067:8: required from ‘struct std::__is_direct_constructible_new, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1075:8: required from ‘struct std::__is_direct_constructible, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1115:8: required from ‘struct std::__is_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /usr/include/c++/6/type_traits:1126:8: required from ‘struct std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, c10::optional, std::allocator >, long unsigned int, long unsigned int> >&&>’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:339:77: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type > constexpr c10::optional::optional(U&&) [with U = c10::optional, std::allocator >, long unsigned int, long unsigned int> >; typename std::enable_if<(((std::is_constructible, std::allocator >, long unsigned int, long unsigned int>, U&&>::value && (! std::is_same::type, c10::in_place_t>::value)) && (! std::is_same::type, c10::optional, std::allocator >, long unsigned int, long unsigned int> > >::value)) && std::is_convertible, std::allocator >, long unsigned int, long unsigned int> >::value), bool>::type = ]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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>::_MoveConstructibleTuple() [with _UElements = {std::tuple, std::allocator >, long unsigned int, long unsigned int>}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple, std::allocator >, long unsigned int, long unsigned int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = std::tuple, std::allocator >, long unsigned int, long unsigned int>&&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1067:8: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>, std::__is_nt_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:1211:8: required from ‘struct std::is_nothrow_constructible, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1242:8: required from ‘struct std::__is_nothrow_move_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, true>’ /usr/include/c++/6/type_traits:1248:8: required from ‘struct std::is_nothrow_move_constructible, std::allocator >, long unsigned int, long unsigned int> >’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:323:1: required from ‘c10::optional::optional(c10::optional&&) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple, std::allocator >, long unsigned int, long unsigned int>}; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple, std::allocator >, long unsigned int, long unsigned int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = std::tuple, std::allocator >, long unsigned int, long unsigned int>&&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1067:8: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>, std::__is_nt_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:1211:8: required from ‘struct std::is_nothrow_constructible, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1242:8: required from ‘struct std::__is_nothrow_move_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, true>’ /usr/include/c++/6/type_traits:1248:8: required from ‘struct std::is_nothrow_move_constructible, std::allocator >, long unsigned int, long unsigned int> >’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:323:1: required from ‘c10::optional::optional(c10::optional&&) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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 = std::tuple, std::allocator >, long unsigned int, long unsigned int>&&; bool = true; _Elements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {std::basic_string, std::allocator >, long unsigned int, long unsigned int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), std::basic_string, std::allocator >, long unsigned int, long unsigned int>::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/type_traits:970:16: required by substitution of ‘template static std::true_type std::__do_is_direct_constructible_impl::__test(int) [with _Tp = std::tuple, std::allocator >, long unsigned int, long unsigned int>; _Arg = std::tuple, std::allocator >, long unsigned int, long unsigned int>&&; = ]’ /usr/include/c++/6/type_traits:981:40: required from ‘struct std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int> >, std::__is_direct_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:985:8: required from ‘struct std::__is_direct_constructible_new_safe, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1067:8: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/6/type_traits:143:8: required from ‘struct std::__and_, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>, std::__is_nt_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&> >’ /usr/include/c++/6/type_traits:1211:8: required from ‘struct std::is_nothrow_constructible, std::allocator >, long unsigned int, long unsigned int>, std::tuple, std::allocator >, long unsigned int, long unsigned int>&&>’ /usr/include/c++/6/type_traits:1242:8: required from ‘struct std::__is_nothrow_move_constructible_impl, std::allocator >, long unsigned int, long unsigned int>, true>’ /usr/include/c++/6/type_traits:1248:8: required from ‘struct std::is_nothrow_move_constructible, std::allocator >, long unsigned int, long unsigned int> >’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:323:1: required from ‘c10::optional::optional(c10::optional&&) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h:147:13: 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 ^~~~~~~~~~~~~~ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h: In member function ‘c10::optional, std::allocator >, long unsigned int, long unsigned int> > torch::jit::SourceRange::file_line_col() const’: /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/Optional.h:314:11: note: after user-defined conversion: constexpr c10::optional::optional(c10::nullopt_t) [with T = std::tuple, std::allocator >, long unsigned int, long unsigned int>] constexpr optional(nullopt_t) noexcept : OptionalBase(){}; ^~~~~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>}; bool = true; _Elements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}]’: /usr/include/c++/6/tuple:626:248: required by substitution of ‘template&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1545:43: required from ‘constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {const c10::optional, const c10::VaryingShape, const c10::VaryingShape, const c10::optional}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/hash.h:139:58: required from ‘size_t c10::get_hash(const Types& ...) [with Types = {c10::optional, c10::VaryingShape, c10::VaryingShape, c10::optional}; size_t = long unsigned int]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/runtime/argument_spec.h:458:238: required from here /usr/include/c++/6/tuple:483:67: error: mismatched argument pack lengths while expanding ‘std::is_constructible<_Elements, _UElements&&>’ return __and_...>::value; ^~~~~ /usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>}; bool = true; _Elements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}]’: /usr/include/c++/6/tuple:626:362: required by substitution of ‘template&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type > constexpr std::tuple< >::tuple(_UElements&& ...) [with _UElements = {std::tuple&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (4ul >= 1)), bool>::type = ]’ /usr/include/c++/6/tuple:1545:43: required from ‘constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {const c10::optional, const c10::VaryingShape, const c10::VaryingShape, const c10::optional}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/hash.h:139:58: required from ‘size_t c10::get_hash(const Types& ...) [with Types = {c10::optional, c10::VaryingShape, c10::VaryingShape, c10::optional}; size_t = long unsigned int]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/runtime/argument_spec.h:458:238: 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&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>&; bool = true; _Elements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}]’: /usr/include/c++/6/tuple:662:419: required by substitution of ‘template&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NonNestedTuple&>()), bool>::type > constexpr std::tuple< >::tuple(const std::tuple<_Args1 ...>&) [with _UElements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NonNestedTuple&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1545:43: required from ‘constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {const c10::optional, const c10::VaryingShape, const c10::VaryingShape, const c10::optional}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/hash.h:139:58: required from ‘size_t c10::get_hash(const Types& ...) [with Types = {c10::optional, c10::VaryingShape, c10::VaryingShape, c10::optional}; size_t = long unsigned int]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/runtime/argument_spec.h:458:238: 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&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>&&; bool = true; _Elements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}]’: /usr/include/c++/6/tuple:686:422: required by substitution of ‘template&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NonNestedTuple&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), const c10::optional&, const c10::VaryingShape&, const c10::VaryingShape&, const c10::optional&>::_NonNestedTuple&&>()), bool>::type = ]’ /usr/include/c++/6/tuple:1545:43: required from ‘constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {const c10::optional, const c10::VaryingShape, const c10::VaryingShape, const c10::optional}]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/c10/util/hash.h:139:58: required from ‘size_t c10::get_hash(const Types& ...) [with Types = {c10::optional, c10::VaryingShape, c10::VaryingShape, c10::optional}; size_t = long unsigned int]’ /var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/include/torch/csrc/jit/runtime/argument_spec.h:458:238: 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 ^~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build env=env) File "/usr/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "", line 1, in File "/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/setup.py", line 221, in cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/setuptools/command/develop.py", line 34, in run self.install_for_development() File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/setuptools/command/develop.py", line 136, in install_for_development self.run_command('build_ext') File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions build_ext.build_extensions(self) File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension depends=ext.depends) File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension ---------------------------------------- ERROR: Command errored out with exit status 1: /var/tmp/ga27cej/Pyt/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/setup.py'"'"'; __file__='"'"'/var/tmp/ga27cej/MaskRCNNPytorch/detectron2_repo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.> ``` 2. What exact command you run: 3. __Full logs__ you observed: ``` I don't know where to gather the logs. ``` ## Environment: ``` ---------------------- ------------------------------------------------------------------- sys.platform linux Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] numpy 1.19.4 detectron2 failed to import detectron2._C not built correctly: No module named 'detectron2' Compiler c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 CUDA compiler Cuda compilation tools, release 9.1, V9.1.85 DETECTRON2_ENV_MODULE PyTorch 1.7.0 @/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torch PyTorch debug build True GPU available True GPU 0 GeForce GTX TITAN X (arch=5.2) CUDA_HOME /usr Pillow 8.0.1 torchvision 0.8.1 @/var/tmp/ga27cej/Pyt/lib/python3.6/site-packages/torchvision torchvision arch flags 3.5, 5.0, 6.0, 7.0, 7.5 fvcore 0.1.2 cv2 4.4.0 ---------------------- ------------------------------------------------------------------- PyTorch built with: - GCC 7.3 - C++ Version: 201402 - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications - Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f) - OpenMP 201511 (a.k.a. OpenMP 4.5) - NNPACK is enabled - CPU capability usage: AVX - CUDA Runtime 10.2 - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75 - CuDNN 7.6.5 - Magma 2.5.2 - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, ``` ## Installation solutions provided by the Doc I also tried the solutions porvided by the Doc. I'm attaching the output of the command ## I hope someone can help me. Thanks for your time.
ppwwyyxx commented 3 years ago

Please see solutions in https://github.com/facebookresearch/detectron2/issues?q=std%3A%3Ais_constructible