You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running build running build_ext building '_ext' extension g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/vision.h:2, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/dcn_v2.h:3, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.cpp:2: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 324 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 324 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_cpu_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:295:13: warning: unused variable ‘batch’ [-Wunused-variable] 295 | const int batch = input.size(0); | ^~~~~ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 398 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 398 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp:6: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cuda/dcn_v2_im2col_cuda.cu -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cuda/dcn_v2_im2col_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 In file included from /usr/local/cuda/include/cuda_runtime.h:83, from <command-line>: /usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported! 129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported! | ^~~~~ error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
The text was updated successfully, but these errors were encountered:
running build running build_ext building '_ext' extension g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/vision.h:2, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/dcn_v2.h:3, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/vision.cpp:2: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 324 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 324 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_cpu_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:295:13: warning: unused variable ‘batch’ [-Wunused-variable] 295 | const int batch = input.size(0); | ^~~~~ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 398 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:71:52: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated [-Wdeprecated-declarations] 71 | at::ScalarType _st = ::detail::scalar_type(TYPE); \ | ^ /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 398 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:47:23: note: declared here 47 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { | ^~~~~~~~~~~ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Type.h:2, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp:6: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/core/TensorImpl.h:1398:34: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] 102 | : Data(Vec.begin() == Vec.end() ? static_cast<T*>(nullptr) : Vec.begin()), /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<unsigned char>::Data’ from ‘std::initializer_list<unsigned char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = signed char]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<signed char>::Data’ from ‘std::initializer_list<signed char>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = short int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<short int>::Data’ from ‘std::initializer_list<short int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = int]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<int>::Data’ from ‘std::initializer_list<int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = float]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<float>::Data’ from ‘std::initializer_list<float>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = double]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<double>::Data’ from ‘std::initializer_list<double>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h: In instantiation of ‘constexpr c10::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = c10::qint8]’: /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h:47:1: required from here /home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:102:39: warning: initializing ‘c10::ArrayRef<c10::qint8>::Data’ from ‘std::initializer_list<c10::qint8>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/TH -I/home/zhangruilin/anaconda3/envs/CenterNet/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhangruilin/anaconda3/envs/CenterNet/include/python3.7m -c /home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cuda/dcn_v2_im2col_cuda.cu -o build/temp.linux-x86_64-3.7/home/zhangruilin/CenterNet/src/lib/models/networks/DCNv2/src/cuda/dcn_v2_im2col_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 In file included from /usr/local/cuda/include/cuda_runtime.h:83, from <command-line>: /usr/local/cuda/include/crt/host_config.h:129:2: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported! 129 | #error -- unsupported GNU version! gcc versions later than 7 are not supported! | ^~~~~ error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: