lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
637 stars 124 forks source link

error: command '/usr/bin/nvcc' failed with exit code 1 #73

Open ouialane1 opened 9 months ago

ouialane1 commented 9 months ago

i have cuda 11.5 and my pytorch version is 1.11.0+cu115 when i run this : !python3 NPMMR-Det1/DCNv2_latest/setup.py build develop

the output is :

running build running build_py running build_ext /home/youialan/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py:387: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) building '_ext' extension g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/home/youialan/NPMMR-Det1/DCNv2_latest/src -I/home/youialan/.local/lib/python3.10/site-packages/torch/include -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/TH -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/include/python3.10 -c /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_cpu.cpp -o build/temp.linux-x86_64-3.10/home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_cpu.cpp: In function ‘std::vector dcn_v2_cpu_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int)’: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:340:27: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 340 | out.data(), | ~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:341:33: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 341 | top_count.data()); | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 324 | input.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:330:41: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 330 | bbox.contiguous().data(), | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:331:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 331 | trans.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:340:27: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 340 | out.data(), | ~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:341:33: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 341 | top_count.data()); | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:321:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 321 | AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/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/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:292:13: warning: unused variable ‘batch’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 292 | const int batch = input.size(0); | ^~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:264:28: note: in definition of macro ‘AT_DISPATCH_FLOATING_TYPES’ 264 | const auto& the_type = TYPE; \ | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:210:30: note: declared here 210 | DeprecatedTypeProperties & type() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:266:47: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 266 | at::ScalarType _st = ::detail::scalar_type(the_type); \ | ~~~~~^~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:178:23: note: declared here 178 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) { | ^~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:45: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 398 | out_grad.contiguous().data(), | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:399:46: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 399 | top_count.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:408:47: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 408 | input_grad.contiguous().data(), | ~~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:409:47: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 409 | trans_grad.contiguous().data(), | ~~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:410:42: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 410 | input.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:411:41: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 411 | bbox.contiguous().data(), | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:412:42: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 412 | trans.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:269:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 269 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Double, double, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:45: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 398 | out_grad.contiguous().data(), | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:399:46: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 399 | top_count.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:408:47: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 408 | input_grad.contiguous().data(), | ~~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:409:47: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 409 | trans_grad.contiguous().data(), | ~~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:410:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 410 | input.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:411:41: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 411 | bbox.contiguous().data(), | ~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:13, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:412:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 412 | trans.contiguous().data(), | ~~~~~~~~~^~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:68:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE_USING_HINT’ 68 | return VA_ARGS(); \ | ^~~ /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/Dispatch.h:270:7: note: in expansion of macro ‘AT_PRIVATE_CASE_TYPE’ 270 | AT_PRIVATE_CASE_TYPE(NAME, at::ScalarType::Float, float, VA_ARGS) \ | ^~~~~~~~ /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:395:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ 395 | AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { | ^~~~~~ In file included from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/Tensor.h:3, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/DeviceGuard.h:4, from /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/ATen.h:11, from /home/youialan/NPMMR-Det1/DCNv2_latest/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/youialan/.local/lib/python3.10/site-packages/torch/include/ATen/core/TensorBody.h:232:7: note: declared here 232 | T data() const { | ^~~~ /usr/bin/nvcc -DWITH_CUDA -I/home/youialan/NPMMR-Det1/DCNv2_latest/src -I/home/youialan/.local/lib/python3.10/site-packages/torch/include -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/TH -I/home/youialan/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/include/python3.10 -c /home/youialan/NPMMR-Det1/DCNv2_latest/src/cuda/dcn_v2_cuda.cu -o build/temp.linux-x86_64-3.10/home/youialan/NPMMR-Det1/DCNv2_latest/src/cuda/dcn_v2_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 -ccbin g++ -std=c++14 /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ error: command '/usr/bin/nvcc' failed with exit code 1

some help please .