akashsengupta1997 / STRAPS-3DHumanShapePose

Code repository for the paper: Synthetic Training for Accurate 3D Human Pose and Shape Estimation in the Wild (BMVC 2020)
MIT License
165 stars 18 forks source link

Inference error #1

Closed namepllet closed 4 years ago

namepllet commented 4 years ago

Hi I got problem when running run_predict.py

Here is my error

When I'm using pointrend: AttributeError: Cannot find field 'pred_masks' in the given Instances!

When I'm using densepose: AttributeError: 'DensePoseROIHeads' object has no attribute 'feature_strides'

akashsengupta1997 commented 4 years ago

Hmm, that's odd. Unfortunately I don't have a lot of time to look into it right now, but I will do in a couple of weeks. In the meantime, you definitely cloned my fork of the detectron2 repo (as in the installation instructions)? The official facebook fork was updated at some point such that it can cause problems when used with this repo now.

namepllet commented 4 years ago

I'm sorry. The bug is fixed after I cloned your fork of detectron2.

Thanks!

akashsengupta1997 commented 4 years ago

glad to hear it!

melih-unsal commented 3 years ago

I'm sorry. The bug is fixed after I cloned your fork of detectron2.

Thanks!

Hi @namepllet how did you resolve your issue since I am not able to run the inference code because I cannot install @akashsengupta1997 's fork. When I try to install it I get the error message below:

In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:16: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
       ~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:33: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
                      ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:33: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
                      ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp: In instantiation of ‘at::Tensor detectron2::nms_rotated_cpu_kernel(const at::Tensor&, const at::Tensor&, float) [with scalar_t = float]’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:67:3:   required from here
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:16:24: 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_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
               ~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:16:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:16:24: 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_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
               ~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:16:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:17:26: 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_ASSERTM(!scores.type().is_cuda(), "scores must be a CPU tensor");
               ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:17:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(!scores.type().is_cuda(), "scores must be a CPU tensor");
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:17:26: 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_ASSERTM(!scores.type().is_cuda(), "scores must be a CPU tensor");
               ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:17:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(!scores.type().is_cuda(), "scores must be a CPU tensor");
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:16: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
       ~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:16: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
       ~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:33: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
                      ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:19:33: 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]
       dets.type() == scores.type(), "dets should have the same type as scores");
                      ~~~~~~~~~~~^~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
 #define C10_EXPAND_MSVC_WORKAROUND(x) x
                                       ^
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
 #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
                                  ^~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
       ^~~~~~~~~~~~~~~~~~~~~
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
                                ^~~~~~~~~~~~~~~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:18:3: note: in expansion of macro ‘AT_ASSERTM’
   AT_ASSERTM(
   ^~~~~~~~~~
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated.h:3,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
[10/12] c++ -MMD -MF /tmp/pip-req-build-8ei3fckt/build/temp.linux-x86_64-3.6/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.o.d -pthread -B /home/melih/anaconda3/envs/ar/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/TH -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/melih/anaconda3/envs/ar/include/python3.6m -c -c /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp -o /tmp/pip-req-build-8ei3fckt/build/temp.linux-x86_64-3.6/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-8ei3fckt/build/temp.linux-x86_64-3.6/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.o
c++ -MMD -MF /tmp/pip-req-build-8ei3fckt/build/temp.linux-x86_64-3.6/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.o.d -pthread -B /home/melih/anaconda3/envs/ar/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/TH -I/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/melih/anaconda3/envs/ar/include/python3.6m -c -c /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp -o /tmp/pip-req-build-8ei3fckt/build/temp.linux-x86_64-3.6/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:4:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlign/ROIAlign.h: In function ‘at::Tensor detectron2::ROIAlign_forward(const at::Tensor&, const at::Tensor&, float, int, int, int, bool)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlign/ROIAlign.h:62:18: 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/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:4:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlign/ROIAlign.h: In function ‘at::Tensor detectron2::ROIAlign_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int, bool)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlign/ROIAlign.h:98:17: 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 (grad.type().is_cuda()) {
                 ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:5:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h: In function ‘at::Tensor detectron2::ROIAlignRotated_forward(const at::Tensor&, const at::Tensor&, float, int, int, int)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:57:18: 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/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:5:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h: In function ‘at::Tensor detectron2::ROIAlignRotated_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:85:17: 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 (grad.type().is_cuda()) {
                 ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:134:18: 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/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:136:26: 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_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:136:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
     ^~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:136:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
     ^~~~~~~~
     DCHECK
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:137:26: 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_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_backward_input(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:182:23: 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 (gradOutput.type().is_cuda()) {
                       ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:184:25: 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_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                         ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:184:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:184:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
     DCHECK
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:185:26: 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_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:186:26: 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_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_backward_filter(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, float, int)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:232:23: 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 (gradOutput.type().is_cuda()) {
                       ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:234:25: 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_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                         ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:234:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:234:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
     DCHECK
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:235:26: 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_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘void detectron2::modulated_deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:282:18: 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/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:284:26: 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_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:284:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
     ^~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:284:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
     ^~~~~~~~
     DCHECK
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:285:24: 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_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                        ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:286:26: 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_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘void detectron2::modulated_deform_conv_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:339:24: 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 (grad_output.type().is_cuda()) {
                        ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:341:25: 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_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                         ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:341:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:341:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
     ^~~~~~~~
     DCHECK
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:342:26: 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_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:343:24: 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_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                        ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/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-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:7:0:
/tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/deformable/deform_conv.h:344:26: 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_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                          ^
In file included from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-req-build-8ei3fckt/detectron2/layers/csrc/vision.cpp:3:
/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
    env=env)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-8ei3fckt/setup.py", line 143, in <module>
    cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/melih/anaconda3/envs/ar/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: /home/melih/anaconda3/envs/ar/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-8ei3fckt/setup.py'"'"'; file='"'"'/tmp/pip-req-build-8ei3fckt/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-q3q475w6/install-record.txt --single-version-externally-managed --compile --install-headers /home/melih/anaconda3/envs/ar/include/python3.6m/detectron2 Check the logs for full command output.