IDEA-Research / detrex

detrex is a research platform for DETR-based object detection, segmentation, pose estimation and other visual recognition tasks.
https://detrex.readthedocs.io/en/latest/
Apache License 2.0
1.99k stars 206 forks source link

install error #313

Closed houruixiang-1024 closed 11 months ago

houruixiang-1024 commented 11 months ago

run python -m pip install -e detectron2 have a error

image

lishufood commented 11 months ago

Hi bro, I got the same one in windows, we are doing the same thing in the same time!

houruixiang-1024 commented 11 months ago

Hi bro, I got the same one in windows, we are doing the same thing in the same time!

:) Hi I have tried many methods, but this problem has always occurred, and I am unable to determine what caused it. If you have solved the problem, I hope you can share the solution

lishufood commented 11 months ago

:) Hi I have tried many methods, but this problem has always occurred, and I am unable to determine what caused it. If you have solved the problem, I hope you can share the solution

This maybe help u: https://github.com/IDEA-Research/detrex/issues/85#issue-1390320479

try to install ninja In fact, i have tried, what's sad is a new bug : ninja: build stopped: subcommand failed. (windows is hard)

U can use search with "detectron2" , sometimes it helps.

If u want, u can go to my homepage to check my email. We can chat with emal or qq with the same bug in the same time!

houruixiang-1024 commented 11 months ago

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here instantiation of class "c10::optional [with T=c10::QualifiedName]" //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(2579): error: class "std::enable_if<<error-constant>, c10::complex<float>>" has no member "type"
          detected during:
            instantiation of type "std::enable_if_t<<error-constant>, c10::complex<float>>"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(176): here
            instantiation of "c10::complex<T>::complex [with T=float]" based on template argument <float>
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::BFloat16)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(85): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::Half)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(97): error: more than one user-defined conversion from "c10::complex<double>" to "c10::complex<float>" applies:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (uint8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int16_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int, __nv_bool)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int64_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

Error limit reached.
100 errors detected in the compilation of "/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu".
Compilation terminated.
[5/11] /usr/bin/nvcc  -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o
/usr/bin/nvcc  -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/usr/include/c++/11/type_traits(1406): error: type name is not allowed

/usr/include/c++/11/type_traits(1406): error: type name is not allowed

/usr/include/c++/11/type_traits(1406): error: identifier "__is_same" is undefined

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Metaprogramming.h(425): error: no instance of constructor "std::tuple<_T1, _T2>::tuple [with _T1=int32_t &&, _T2=int32_t]" matches the argument list
            argument types are: (int32_t, int)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Metaprogramming.h(423): error: no instance of overloaded function "c10::guts::detail::extract_tuple_element_by_index" matches the argument list
            argument types are: (std::tuple<int32_t>, <error-type>)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/ScalarTypeToTypeMeta.h(35): error: no suitable constructor exists to convert from "c10::ScalarType" to "c10::optional<c10::ScalarType>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(148): error: no suitable constructor exists to convert from "c10::Layout" to "c10::optional<c10::Layout>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(177): error: no instance of overloaded function "c10::TensorOptions::set_dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(182): error: no instance of overloaded function "c10::TensorOptions::set_dtype" matches the argument list
            argument types are: (c10::ScalarType)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(187): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::Device]" matches the argument list
            argument types are: (const c10::Device)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::Device &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(287): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=caffe2::TypeMeta]" matches the argument list
            argument types are: (const caffe2::TypeMeta)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const caffe2::TypeMeta &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(308): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::Layout]" matches the argument list
            argument types are: (const c10::Layout)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::Layout &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(324): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=__nv_bool]" matches the argument list
            argument types are: (const __nv_bool)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const __nv_bool &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(341): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::MemoryFormat]" matches the argument list
            argument types are: (const c10::MemoryFormat)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::MemoryFormat &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(388): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(430): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(568): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(573): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(579): error: no instance of overloaded function "c10::TensorOptions::layout" matches the argument list
            argument types are: (c10::Layout)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(598): error: no instance of overloaded function "c10::TensorOptions::requires_grad" matches the argument list
            argument types are: (__nv_bool)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(604): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(761): error: no instance of overloaded function "c10::TensorOptions::layout" matches the argument list
            argument types are: (c10::Layout)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=PyObject *]" matches the argument list
            argument types are: (PyObject *)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=PyObject *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h(2040): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(698): error: class "std::enable_if<<error-constant>, c10::optional<c10::Device> &>" has no member "type"
          detected during instantiation of "c10::optional<T>::operator= [with T=c10::Device]" based on template argument <c10::Device>
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h(2224): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/DeprecatedTypeProperties.h(99): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Type::TypePtr *, _Up=c10::Type::SingletonOrSharedTypePtr<c10::Type> *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(662): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Type::TypePtr *, _Up=c10::Type::SingletonOrSharedTypePtr<c10::Type> *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(662): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(2579): error: class "std::enable_if<<error-constant>, c10::complex<float>>" has no member "type"
          detected during:
            instantiation of type "std::enable_if_t<<error-constant>, c10::complex<float>>"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(176): here
            instantiation of "c10::complex<T>::complex [with T=float]" based on template argument <float>
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::BFloat16)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(85): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::Half)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(97): error: more than one user-defined conversion from "c10::complex<double>" to "c10::complex<float>" applies:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (uint8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int16_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int, __nv_bool)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int64_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

Error limit reached.
100 errors detected in the compilation of "/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu".
Compilation terminated.
[6/11] /usr/bin/nvcc  -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o
/usr/bin/nvcc  -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/usr/include/c++/11/type_traits(1406): error: type name is not allowed

/usr/include/c++/11/type_traits(1406): error: type name is not allowed

/usr/include/c++/11/type_traits(1406): error: identifier "__is_same" is undefined

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Metaprogramming.h(425): error: no instance of constructor "std::tuple<_T1, _T2>::tuple [with _T1=int32_t &&, _T2=int32_t]" matches the argument list
            argument types are: (int32_t, int)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Metaprogramming.h(423): error: no instance of overloaded function "c10::guts::detail::extract_tuple_element_by_index" matches the argument list
            argument types are: (std::tuple<int32_t>, <error-type>)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/ScalarTypeToTypeMeta.h(35): error: no suitable constructor exists to convert from "c10::ScalarType" to "c10::optional<c10::ScalarType>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(148): error: no suitable constructor exists to convert from "c10::Layout" to "c10::optional<c10::Layout>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(177): error: no instance of overloaded function "c10::TensorOptions::set_dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(182): error: no instance of overloaded function "c10::TensorOptions::set_dtype" matches the argument list
            argument types are: (c10::ScalarType)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(187): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::Device]" matches the argument list
            argument types are: (const c10::Device)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::Device &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(287): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=caffe2::TypeMeta]" matches the argument list
            argument types are: (const caffe2::TypeMeta)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const caffe2::TypeMeta &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(308): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::Layout]" matches the argument list
            argument types are: (const c10::Layout)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::Layout &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(324): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=__nv_bool]" matches the argument list
            argument types are: (const __nv_bool)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const __nv_bool &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(341): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=c10::MemoryFormat]" matches the argument list
            argument types are: (const c10::MemoryFormat)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=const c10::MemoryFormat &]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(388): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(430): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(568): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(573): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(579): error: no instance of overloaded function "c10::TensorOptions::layout" matches the argument list
            argument types are: (c10::Layout)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(598): error: no instance of overloaded function "c10::TensorOptions::requires_grad" matches the argument list
            argument types are: (__nv_bool)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(604): error: no suitable constructor exists to convert from "c10::MemoryFormat" to "c10::optional<c10::MemoryFormat>"

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorOptions.h(761): error: no instance of overloaded function "c10::TensorOptions::layout" matches the argument list
            argument types are: (c10::Layout)
            object type is: c10::TensorOptions

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(1229): error: no instance of constructor "c10::optional<T>::optional [with T=PyObject *]" matches the argument list
            argument types are: (PyObject *)
          detected during instantiation of "c10::optional<std::decay<T>::type> c10::make_optional(T &&) [with T=PyObject *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h(2040): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(698): error: class "std::enable_if<<error-constant>, c10::optional<c10::Device> &>" has no member "type"
          detected during instantiation of "c10::optional<T>::operator= [with T=c10::Device]" based on template argument <c10::Device>
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h(2224): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/DeprecatedTypeProperties.h(99): error: no instance of overloaded function "c10::TensorOptions::dtype" matches the argument list
            argument types are: (caffe2::TypeMeta)
            object type is: c10::TensorOptions

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Type::TypePtr *, _Up=c10::Type::SingletonOrSharedTypePtr<c10::Type> *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(662): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Type::TypePtr *, _Up=c10::Type::SingletonOrSharedTypePtr<c10::Type> *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(662): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::QualifiedName, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::QualifiedName]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(698): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<c10::QualifiedName>, _Up=c10::optional<c10::QualifiedName>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/jit_type_base.h(682): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IValue, _Up=c10::IValue]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=c10::IValue, _Alloc=std::allocator<c10::IValue>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/List.h(31): here

/usr/include/c++/11/type_traits(2579): error: class "std::enable_if<<error-constant>, c10::complex<float>>" has no member "type"
          detected during:
            instantiation of type "std::enable_if_t<<error-constant>, c10::complex<float>>"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(176): here
            instantiation of "c10::complex<T>::complex [with T=float]" based on template argument <float>
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(76): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::BFloat16)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(85): error: more than one instance of constructor "c10::complex<T>::complex [with T=float]" matches the argument list:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here
            argument types are: (c10::Half)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/TypeCast.h(97): error: more than one user-defined conversion from "c10::complex<double>" to "c10::complex<float>" applies:
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, float>::value, c10::complex<double>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(170): here
            function template "c10::complex<T>::complex(const std::enable_if_t<std::is_same<U, double>::value, c10::complex<float>> &) [with T=float]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/complex.h(175): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int64_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(37): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=uint8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (uint8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int8_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int8_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int16_t, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int16_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=int, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int, __nv_bool)

//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): error: no instance of constructor "c10::Scalar::Scalar" matches the argument list
            argument types are: (int64_t, __nv_bool)

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=float, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=double, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Half, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::BFloat16, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<c10::Half>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(53): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<float>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::complex<double>, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(54): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Scalar, _Up=__nv_bool]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h(171): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::IntArrayRef, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(584): here
            instantiation of class "c10::optional<T> [with T=c10::IntArrayRef]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(211): here
            instantiation of class "c10::OptionalArrayRef<T> [with T=int64_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(219): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::ArrayRef<int64_t>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/OptionalArrayRef.h(222): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::optional<__nv_bool>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/CheckMemoryFormat.h(9): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::NameType, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(20): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::Symbol, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/Dimname.h(41): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname, _Up=at::Dimname]"
/usr/include/c++/11/bits/stl_vector.h(401): here
            instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=at::Dimname, _Alloc=std::allocator<at::Dimname>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(69): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::Dimname *, _Up=at::Dimname *]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/NamedTensor.h(44): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::OptionalArrayRef<int64_t>]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>, _Up=c10::in_place_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(220): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

/usr/include/c++/11/type_traits(1406): error: type name is not allowed
          detected during:
            instantiation of class "std::is_same<_Tp, _Up> [with _Tp=at::DimnameList, _Up=c10::nullopt_t]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/c10/util/Optional.h(581): here
            instantiation of class "c10::optional<T> [with T=at::DimnameList]"
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/ATen/core/TensorBase.h(244): here

Error limit reached.
100 errors detected in the compilation of "/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu".
Compilation terminated.
[7/11] c++ -MMD -MF /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.o.d -pthread -B //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[8/11] c++ -MMD -MF /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.o.d -pthread -B //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[9/11] c++ -MMD -MF /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/cocoeval/cocoeval.o.d -pthread -B //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/cocoeval/cocoeval.cpp -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/cocoeval/cocoeval.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[10/11] c++ -MMD -MF /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.o.d -pthread -B //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[11/11] c++ -MMD -MF /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.o.d -pthread -B //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/TH -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/THC -I//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/include/python3.7m -c -c /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.cpp -o /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/build/temp.linux-x86_64-cpython-37/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/Exceptions.h:13,
                 from //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/python.h:11,
                 from //home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/torch/extension.h:6,
                 from /home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.cpp:3:
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<detectron2::COCOeval::InstanceAnnotation>’:
/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.cpp:105:73:   required from here
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:7: warning: ‘pybind11::class_<detectron2::COCOeval::InstanceAnnotation>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
 1479 | class class_ : public detail::generic_type {
      |       ^~~~~~
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<detectron2::COCOeval::ImageEvaluation>’:
/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/detectron2/layers/csrc/vision.cpp:107:67:   required from here
//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:7: warning: ‘pybind11::class_<detectron2::COCOeval::ImageEvaluation>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1906, in _run_ninja_build
    env=env)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/subprocess.py", line 512, 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 "<string>", line 36, in <module>
  File "<pip-setuptools-caller>", line 34, in <module>
  File "/home/DataDisk2T/greatwall13/houruixiang/houruixiang/detectmodel/detrex/detectron2/setup.py", line 211, in <module>
    cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/dist.py", line 989, in run_command
    super().run_command(command)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/command/develop.py", line 109, in install_for_development
    self.run_command('build_ext')
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/dist.py", line 989, in run_command
    super().run_command(command)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 88, in run
    _build_ext.run(self)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
    build_ext.build_extensions(self)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 555, in build_extension
    depends=ext.depends,
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 668, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1578, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "//home/DataDisk2T/greatwall13/miniconda3/envs/detrex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1916, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
[end of output]