MedChaabane / DEFT

Joint detection and tracking model named DEFT, or ``Detection Embeddings for Tracking." Our approach relies on an appearance-based object matching network jointly-learned with an underlying object detection network. An LSTM is also added to capture motion constraints.
MIT License
268 stars 43 forks source link

error: ‘THFloatBlas_gemv’ was not declared in this scope #3

Closed ryanmaxwell96 closed 3 years ago

ryanmaxwell96 commented 3 years ago

When I run ./make.sh I get the error

"error: ‘THFloatBlas_gemv’ was not declared in this scope." The entire error print out is extremely long:

`running build running build_ext /home/risc/ryan/lib/python3.6/site-packages/torch/utils/cpp_extension.py:335: 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++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp -o build/temp.linux-x86_64-3.6/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/vision.h:2, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:3, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2:0: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h: In function ‘at::Tensor dcn_v2_forward(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/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:25:20: 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(). [-Wdeprecated-declarations] if (input.type().is_cuda()) ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/vision.h:2, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:3, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2:0: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h: In function ‘std::vector dcn_v2_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/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:61:20: 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(). [-Wdeprecated-declarations] if (input.type().is_cuda()) ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/vision.h:2, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:3, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2:0: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:107:20: 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(). [-Wdeprecated-declarations] if (input.type().is_cuda()) ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/vision.h:2, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:3, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2:0: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:155:20: 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(). [-Wdeprecated-declarations] if (input.type().is_cuda()) ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/vision.h:2, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/dcn_v2.h:3, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ g++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp -o build/temp.linux-x86_64-3.6/home/risc/ryan/EE354/Project/DEFT/src/lib/model/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++14 In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/TH.h:13, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:18: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:41: 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(). [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:137:28: note: in definition of macro ‘AT_DISPATCH_FLOATING_TYPES’ const auto& the_type = TYPE; \ ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:139:56: 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 [-Wdeprecated-declarations] at::ScalarType _st = ::detail::scalar_type(the_type); \ ^ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:66:23: note: declared here inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) { ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:327:43: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:333:42: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] bbox.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:334:43: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:343:28: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] out.data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:344:34: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] top_count.data()); ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:327:43: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:333:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] bbox.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:334:43: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:343:28: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] out.data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:344:34: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] top_count.data()); ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:324:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(input.type(), "dcn_v2_psroi_pooling_cpu_forward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/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/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:295:13: warning: unused variable ‘batch’ [-Wunused-variable] const int batch = input.size(0); ^~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:44: 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(). [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:137:28: note: in definition of macro ‘AT_DISPATCH_FLOATING_TYPES’ const auto& the_type = TYPE; \ ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:139:56: 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 [-Wdeprecated-declarations] at::ScalarType _st = ::detail::scalar_type(the_type); \ ^ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:66:23: note: declared here inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) { ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:401:46: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] out_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:402:47: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] top_count.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:411:48: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:412:48: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:413:43: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:414:42: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] bbox.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:415:43: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp: In lambda function: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:401:46: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] out_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:402:47: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] top_count.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:411:48: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:412:48: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans_grad.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:413:43: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:414:42: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] bbox.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:415:43: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] trans.contiguous().data(), ^ /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:13:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’ return __VA_ARGS__(); \ ^~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:398:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES’ AT_DISPATCH_FLOATING_TYPES(out_grad.type(), "dcn_v2_psroi_pooling_cpu_backward", [&] { ^~~~~~ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_psroi_pooling_cpu.cpp:15: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ g++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp -o build/temp.linux-x86_64-3.6/home/risc/ryan/EE354/Project/DEFT/src/lib/model/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++14 In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/TH.h:13, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_im2col_cpu.cpp:9: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

g++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp -o build/temp.linux-x86_64-3.6/home/risc/ryan/EE354/Project/DEFT/src/lib/model/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++14 In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/TH/TH.h:13, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:7: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

/home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp: In function ‘at::Tensor dcn_v2_cpu_forward(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/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:83:59: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] ones.contiguous().data(), k_, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:84:59: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] bias.contiguous().data(), k_, 0.0f, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:85:50: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] output_n.data(), n_); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:87:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] modulated_deformable_im2col_cpu(input_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:88:66: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] offset_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:89:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] mask_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:94:65: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] columns.data()); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:102:49: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] columns.data(), n, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:103:48: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] weight.data(), k, 1.0f, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:104:50: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] output_n.data(), n); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/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/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:177:55: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_output_n.data(), n, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:178:48: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] weight.data(), m, 0.0f, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:179:49: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] columns.data(), n); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:182:70: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] modulated_deformable_col2im_coord_cpu(columns.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:183:71: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] input_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:184:72: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] offset_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:185:70: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] mask_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:190:77: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_offset_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:191:75: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_mask_n.data()); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:193:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] modulated_deformable_col2im_cpu(columns.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:194:66: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] offset_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:195:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] mask_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:200:70: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_input_n.data()); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:203:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] modulated_deformable_im2col_cpu(input_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:204:66: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] offset_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:205:64: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] mask_n.data(), ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:210:65: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] columns.data()); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:217:49: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] columns.data(), k_, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:218:55: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_output_n.data(), k_, 1.0f, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:219:53: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_weight.data(), n_); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:225:55: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_output_n.data(), k_, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:226:46: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] ones.data(), 1, 1.0f, ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:227:51: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] grad_bias.data(), 1); ^ In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:4: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here T data() const { ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:224:9: error: ‘THFloatBlas_gemv’ was not declared in this scope THFloatBlasgemv('t', k, m_, 1.0f, ^~~~ /home/risc/ryan/EE354/Project/DEFT/src/lib/model/networks/DCNv2/src/cpu/dcn_v2_cpu.cpp:224:9: note: suggested alternative: ‘THFloatBlas_gemm’ THFloatBlasgemv('t', k, m_, 1.0f, ^~~~ THFloatBlas_gemm error: command 'g++' failed with exit status 1 ` <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Because of these issue I tried to run pip3 install DCNv2 which also gave me a bunch of errors:

` Running setup.py install for DCNv2 ... error ERROR: Command errored out with exit status 1: command: /home/risc/ryan/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/setup.py'"'"'; file='"'"'/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-wg0alf3g/install-record.txt --single-version-externally-managed --compile --install-headers /home/risc/ryan/include/site/python3.6/DCNv2 cwd: /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/ Complete output (125 lines): running install running build running build_ext /home/risc/ryan/lib/python3.6/site-packages/torch/utils/cpp_extension.py:335: 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 creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/tmp creating build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq creating build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429 creating build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src creating build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu creating build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda g++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src -I/usr/local/cuda/include/ -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp -o build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/vision.h:2, from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:3, from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2: /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:0:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h: In function ‘at::Tensor dcn_v2_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, int, int, int, int, int, int, int, int)’:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:25:20: 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(). [-Wdeprecated-declarations]
     if (input.type().is_cuda())
                    ^
In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/vision.h:2,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:3,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:
/home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:0:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h: In function ‘std::vector<at::Tensor> dcn_v2_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)’:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:54:20: 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(). [-Wdeprecated-declarations]
     if (input.type().is_cuda())
                    ^
In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/vision.h:2,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:3,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:
/home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:0:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:88:20: 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(). [-Wdeprecated-declarations]
     if (input.type().is_cuda())
                    ^
In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/vision.h:2,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:3,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:
/home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:0:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h: In function ‘std::tuple<at::Tensor, at::Tensor> dcn_v2_psroi_pooling_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int, float, int, int, int, int, int, float)’:
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:124:20: 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(). [-Wdeprecated-declarations]
     if (input.type().is_cuda())
                    ^
In file included from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/vision.h:2,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/dcn_v2.h:3,
                 from /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/vision.cpp:2:
/home/risc/ryan/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
g++ -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DWITH_CUDA -I/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src -I/usr/local/cuda/include/ -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/dcn_v2_cpu.cpp -o build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cpu/dcn_v2_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/bin/nvcc -DWITH_CUDA -I/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src -I/usr/local/cuda/include/ -I/home/risc/ryan/lib/python3.6/site-packages/torch/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/TH -I/home/risc/ryan/lib/python3.6/site-packages/torch/include/THC -I/home/risc/ryan/include -I/usr/include/python3.6m -c /tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda/dcn_v2_cuda.cu -o build/temp.linux-x86_64-3.6/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda/dcn_v2_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda/dcn_v2_cuda.cu(86): error: identifier "THCState_getCurrentStream" is undefined

/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda/dcn_v2_cuda.cu(182): error: identifier "THCState_getCurrentStream" is undefined

/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/src/cuda/dcn_v2_cuda.cu(227): error: identifier "THCudaBlas_Sgemv" is undefined

3 errors detected in the compilation of "/tmp/tmpxft_000073a2_00000000-6_dcn_v2_cuda.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /home/risc/ryan/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/setup.py'"'"'; file='"'"'/tmp/pip-install-kl1hk0uq/dcnv2_df594c6ccaef48368a15a807878a8429/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-wg0alf3g/install-record.txt --single-version-externally-managed --compile --install-headers /home/risc/ryan/include/site/python3.6/DCNv2 Check the logs for full command output. ` <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

After searching online, my "shot-in-the-dark" answer leads me to believe that my Cuda (v9.1) and gcc (v7.5.0) are incompatible with each other. Is there a specific version of cuda that needs to be used?

Thanks

ryanmaxwell96 commented 3 years ago

Using conda as was dictated got rid of this issue.