ArdianUmam

SetVae_bash-install.sh

Apr 29th, 2017 (edited)
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 125.30 KB | None | 0 0
  1. myusername@server~.../setvae$ bash install.sh
  2. CXX src/structural_loss.cpp
  3. g++ src/structural_loss.cpp -MMD -MP   -pthread -fPIC -fwrapv -std=c++17 -DNDEBUG -O3 -I./ -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -DTORCH_API_INCLUDE_EXTENSION_H -D_GLIBCXX_USE_CXX11_ABI=0 -Wall -Wno-sign-compare -Wcomment   -c -o objs/structural_loss.o
  4. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:140:0,
  5.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  6.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  7.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  8.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
  9.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  10.                  from src/structural_loss.cpp:2:
  11. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:83:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  12.  #pragma omp parallel for if ((end - begin) >= grain_size)
  13.  
  14. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  15.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  16.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  17.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  18.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  19.                  from src/structural_loss.cpp:1:
  20. src/structural_loss.cpp: In function ‘std::vector<at::Tensor> ApproxMatch(at::Tensor, at::Tensor)’:
  21. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  22.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  23.                                          ^
  24. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  25.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  26.                                        ^
  27. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  28.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  29.                                   ^~~~~~~~~~~~
  30. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  31.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  32.        ^~~~~~~~~~~~~~~~~~~~~
  33. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  34.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  35.                                 ^~~~~~~~~~~~~~~~~~~~~
  36. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  37.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  38.                        ^~~~~~~~~~
  39. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  40.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  41.                         ^~~~~~~~~~
  42. src/structural_loss.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
  43.      CHECK_INPUT(set_d);
  44.      ^
  45. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  46.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  47.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  48.                  from src/structural_loss.cpp:1:
  49. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  50.    DeprecatedTypeProperties & type() const {
  51.                               ^~~~
  52. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  53.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  54.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  55.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  56.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  57.                  from src/structural_loss.cpp:1:
  58. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  59.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  60.                                          ^
  61. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  62.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  63.                                        ^
  64. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  65.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  66.                                   ^~~~~~~~~~~~
  67. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  68.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  69.        ^~~~~~~~~~~~~~~~~~~~~
  70. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  71.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  72.                                 ^~~~~~~~~~~~~~~~~~~~~
  73. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  74.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  75.                        ^~~~~~~~~~
  76. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  77.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  78.                         ^~~~~~~~~~
  79. src/structural_loss.cpp:31:5: note: in expansion of macro ‘CHECK_INPUT’
  80.      CHECK_INPUT(set_q);
  81.      ^
  82. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  83.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  84.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  85.                  from src/structural_loss.cpp:1:
  86. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  87.    DeprecatedTypeProperties & type() const {
  88.                               ^~~~
  89. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  90.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  91.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  92.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  93.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  94.                  from src/structural_loss.cpp:1:
  95. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  96.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  97.                                          ^
  98. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  99.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  100.                                        ^
  101. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  102.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  103.                                   ^~~~~~~~~~~~
  104. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  105.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  106.        ^~~~~~~~~~~~~~~~~~~~~
  107. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  108.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  109.                                 ^~~~~~~~~~~~~~~~~~~~~
  110. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  111.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  112.                        ^~~~~~~~~~
  113. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  114.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  115.                         ^~~~~~~~~~
  116. src/structural_loss.cpp:32:5: note: in expansion of macro ‘CHECK_INPUT’
  117.      CHECK_INPUT(match);
  118.      ^
  119. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  120.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  121.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  122.                  from src/structural_loss.cpp:1:
  123. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  124.    DeprecatedTypeProperties & type() const {
  125.                               ^~~~
  126. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  127.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  128.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  129.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  130.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  131.                  from src/structural_loss.cpp:1:
  132. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  133.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  134.                                          ^
  135. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  136.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  137.                                        ^
  138. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  139.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  140.                                   ^~~~~~~~~~~~
  141. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  142.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  143.        ^~~~~~~~~~~~~~~~~~~~~
  144. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  145.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  146.                                 ^~~~~~~~~~~~~~~~~~~~~
  147. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  148.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  149.                        ^~~~~~~~~~
  150. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  151.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  152.                         ^~~~~~~~~~
  153. src/structural_loss.cpp:33:5: note: in expansion of macro ‘CHECK_INPUT’
  154.      CHECK_INPUT(temp);
  155.      ^
  156. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  157.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  158.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  159.                  from src/structural_loss.cpp:1:
  160. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  161.    DeprecatedTypeProperties & type() const {
  162.                               ^~~~
  163. src/structural_loss.cpp:35:78: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  164.      approxmatch(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),temp.data<float>(), at::cuda::getCurrentCUDAStream());
  165.                                                                               ^
  166. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  167.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  168.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  169.                  from src/structural_loss.cpp:1:
  170. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  171.    T * data() const {
  172.        ^~~~
  173. src/structural_loss.cpp:35:98: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  174.      approxmatch(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),temp.data<float>(), at::cuda::getCurrentCUDAStream());
  175.                                                                                                   ^
  176. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  177.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  178.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  179.                  from src/structural_loss.cpp:1:
  180. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  181.    T * data() const {
  182.        ^~~~
  183. src/structural_loss.cpp:35:118: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  184.      approxmatch(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),temp.data<float>(), at::cuda::getCurrentCUDAStream());
  185.                                                                                                                       ^
  186. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  187.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  188.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  189.                  from src/structural_loss.cpp:1:
  190. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  191.    T * data() const {
  192.        ^~~~
  193. src/structural_loss.cpp:35:137: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  194.      approxmatch(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),temp.data<float>(), at::cuda::getCurrentCUDAStream());
  195.                                                                                                                                          ^
  196. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  197.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  198.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  199.                  from src/structural_loss.cpp:1:
  200. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  201.    T * data() const {
  202.        ^~~~
  203. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  204.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  205.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  206.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  207.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  208.                  from src/structural_loss.cpp:1:
  209. src/structural_loss.cpp: In function ‘at::Tensor MatchCost(at::Tensor, at::Tensor, at::Tensor)’:
  210. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  211.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  212.                                          ^
  213. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  214.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  215.                                        ^
  216. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  217.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  218.                                   ^~~~~~~~~~~~
  219. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  220.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  221.        ^~~~~~~~~~~~~~~~~~~~~
  222. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  223.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  224.                                 ^~~~~~~~~~~~~~~~~~~~~
  225. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  226.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  227.                        ^~~~~~~~~~
  228. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  229.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  230.                         ^~~~~~~~~~
  231. src/structural_loss.cpp:46:5: note: in expansion of macro ‘CHECK_INPUT’
  232.      CHECK_INPUT(set_d);
  233.      ^
  234. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  235.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  236.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  237.                  from src/structural_loss.cpp:1:
  238. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  239.    DeprecatedTypeProperties & type() const {
  240.                               ^~~~
  241. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  242.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  243.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  244.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  245.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  246.                  from src/structural_loss.cpp:1:
  247. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  248.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  249.                                          ^
  250. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  251.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  252.                                        ^
  253. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  254.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  255.                                   ^~~~~~~~~~~~
  256. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  257.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  258.        ^~~~~~~~~~~~~~~~~~~~~
  259. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  260.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  261.                                 ^~~~~~~~~~~~~~~~~~~~~
  262. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  263.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  264.                        ^~~~~~~~~~
  265. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  266.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  267.                         ^~~~~~~~~~
  268. src/structural_loss.cpp:47:5: note: in expansion of macro ‘CHECK_INPUT’
  269.      CHECK_INPUT(set_q);
  270.      ^
  271. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  272.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  273.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  274.                  from src/structural_loss.cpp:1:
  275. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  276.    DeprecatedTypeProperties & type() const {
  277.                               ^~~~
  278. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  279.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  280.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  281.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  282.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  283.                  from src/structural_loss.cpp:1:
  284. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  285.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  286.                                          ^
  287. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  288.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  289.                                        ^
  290. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  291.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  292.                                   ^~~~~~~~~~~~
  293. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  294.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  295.        ^~~~~~~~~~~~~~~~~~~~~
  296. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  297.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  298.                                 ^~~~~~~~~~~~~~~~~~~~~
  299. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  300.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  301.                        ^~~~~~~~~~
  302. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  303.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  304.                         ^~~~~~~~~~
  305. src/structural_loss.cpp:48:5: note: in expansion of macro ‘CHECK_INPUT’
  306.      CHECK_INPUT(match);
  307.      ^
  308. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  309.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  310.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  311.                  from src/structural_loss.cpp:1:
  312. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  313.    DeprecatedTypeProperties & type() const {
  314.                               ^~~~
  315. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  316.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  317.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  318.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  319.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  320.                  from src/structural_loss.cpp:1:
  321. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  322.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  323.                                          ^
  324. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  325.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  326.                                        ^
  327. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  328.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  329.                                   ^~~~~~~~~~~~
  330. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  331.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  332.        ^~~~~~~~~~~~~~~~~~~~~
  333. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  334.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  335.                                 ^~~~~~~~~~~~~~~~~~~~~
  336. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  337.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  338.                        ^~~~~~~~~~
  339. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  340.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  341.                         ^~~~~~~~~~
  342. src/structural_loss.cpp:49:5: note: in expansion of macro ‘CHECK_INPUT’
  343.      CHECK_INPUT(out);
  344.      ^
  345. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  346.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  347.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  348.                  from src/structural_loss.cpp:1:
  349. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  350.    DeprecatedTypeProperties & type() const {
  351.                               ^~~~
  352. src/structural_loss.cpp:50:76: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  353.      matchcost(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),out.data<float>(),at::cuda::getCurrentCUDAStream());
  354.                                                                             ^
  355. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  356.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  357.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  358.                  from src/structural_loss.cpp:1:
  359. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  360.    T * data() const {
  361.        ^~~~
  362. src/structural_loss.cpp:50:96: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  363.      matchcost(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),out.data<float>(),at::cuda::getCurrentCUDAStream());
  364.                                                                                                 ^
  365. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  366.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  367.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  368.                  from src/structural_loss.cpp:1:
  369. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  370.    T * data() const {
  371.        ^~~~
  372. src/structural_loss.cpp:50:116: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  373.      matchcost(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),out.data<float>(),at::cuda::getCurrentCUDAStream());
  374.                                                                                                                     ^
  375. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  376.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  377.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  378.                  from src/structural_loss.cpp:1:
  379. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  380.    T * data() const {
  381.        ^~~~
  382. src/structural_loss.cpp:50:134: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  383.      matchcost(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),out.data<float>(),at::cuda::getCurrentCUDAStream());
  384.                                                                                                                                       ^
  385. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  386.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  387.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  388.                  from src/structural_loss.cpp:1:
  389. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  390.    T * data() const {
  391.        ^~~~
  392. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  393.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  394.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  395.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  396.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  397.                  from src/structural_loss.cpp:1:
  398. src/structural_loss.cpp: In function ‘std::vector<at::Tensor> MatchCostGrad(at::Tensor, at::Tensor, at::Tensor)’:
  399. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  400.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  401.                                          ^
  402. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  403.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  404.                                        ^
  405. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  406.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  407.                                   ^~~~~~~~~~~~
  408. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  409.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  410.        ^~~~~~~~~~~~~~~~~~~~~
  411. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  412.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  413.                                 ^~~~~~~~~~~~~~~~~~~~~
  414. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  415.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  416.                        ^~~~~~~~~~
  417. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  418.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  419.                         ^~~~~~~~~~
  420. src/structural_loss.cpp:62:5: note: in expansion of macro ‘CHECK_INPUT’
  421.      CHECK_INPUT(set_d);
  422.      ^
  423. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  424.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  425.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  426.                  from src/structural_loss.cpp:1:
  427. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  428.    DeprecatedTypeProperties & type() const {
  429.                               ^~~~
  430. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  431.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  432.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  433.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  434.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  435.                  from src/structural_loss.cpp:1:
  436. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  437.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  438.                                          ^
  439. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  440.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  441.                                        ^
  442. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  443.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  444.                                   ^~~~~~~~~~~~
  445. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  446.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  447.        ^~~~~~~~~~~~~~~~~~~~~
  448. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  449.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  450.                                 ^~~~~~~~~~~~~~~~~~~~~
  451. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  452.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  453.                        ^~~~~~~~~~
  454. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  455.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  456.                         ^~~~~~~~~~
  457. src/structural_loss.cpp:63:5: note: in expansion of macro ‘CHECK_INPUT’
  458.      CHECK_INPUT(set_q);
  459.      ^
  460. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  461.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  462.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  463.                  from src/structural_loss.cpp:1:
  464. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  465.    DeprecatedTypeProperties & type() const {
  466.                               ^~~~
  467. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  468.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  469.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  470.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  471.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  472.                  from src/structural_loss.cpp:1:
  473. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  474.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  475.                                          ^
  476. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  477.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  478.                                        ^
  479. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  480.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  481.                                   ^~~~~~~~~~~~
  482. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  483.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  484.        ^~~~~~~~~~~~~~~~~~~~~
  485. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  486.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  487.                                 ^~~~~~~~~~~~~~~~~~~~~
  488. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  489.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  490.                        ^~~~~~~~~~
  491. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  492.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  493.                         ^~~~~~~~~~
  494. src/structural_loss.cpp:64:5: note: in expansion of macro ‘CHECK_INPUT’
  495.      CHECK_INPUT(match);
  496.      ^
  497. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  498.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  499.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  500.                  from src/structural_loss.cpp:1:
  501. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  502.    DeprecatedTypeProperties & type() const {
  503.                               ^~~~
  504. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  505.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  506.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  507.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  508.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  509.                  from src/structural_loss.cpp:1:
  510. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  511.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  512.                                          ^
  513. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  514.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  515.                                        ^
  516. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  517.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  518.                                   ^~~~~~~~~~~~
  519. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  520.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  521.        ^~~~~~~~~~~~~~~~~~~~~
  522. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  523.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  524.                                 ^~~~~~~~~~~~~~~~~~~~~
  525. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  526.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  527.                        ^~~~~~~~~~
  528. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  529.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  530.                         ^~~~~~~~~~
  531. src/structural_loss.cpp:65:5: note: in expansion of macro ‘CHECK_INPUT’
  532.      CHECK_INPUT(grad1);
  533.      ^
  534. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  535.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  536.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  537.                  from src/structural_loss.cpp:1:
  538. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  539.    DeprecatedTypeProperties & type() const {
  540.                               ^~~~
  541. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  542.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  543.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  544.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  545.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  546.                  from src/structural_loss.cpp:1:
  547. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  548.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  549.                                          ^
  550. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  551.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  552.                                        ^
  553. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  554.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  555.                                   ^~~~~~~~~~~~
  556. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  557.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  558.        ^~~~~~~~~~~~~~~~~~~~~
  559. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  560.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  561.                                 ^~~~~~~~~~~~~~~~~~~~~
  562. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  563.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  564.                        ^~~~~~~~~~
  565. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  566.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  567.                         ^~~~~~~~~~
  568. src/structural_loss.cpp:66:5: note: in expansion of macro ‘CHECK_INPUT’
  569.      CHECK_INPUT(grad2);
  570.      ^
  571. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  572.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  573.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  574.                  from src/structural_loss.cpp:1:
  575. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  576.    DeprecatedTypeProperties & type() const {
  577.                               ^~~~
  578. src/structural_loss.cpp:67:80: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  579.      matchcostgrad(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),grad1.data<float>(),grad2.data<float>(),at::cuda::getCurrentCUDAStream());
  580.                                                                                 ^
  581. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  582.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  583.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  584.                  from src/structural_loss.cpp:1:
  585. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  586.    T * data() const {
  587.        ^~~~
  588. src/structural_loss.cpp:67:100: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  589.      matchcostgrad(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),grad1.data<float>(),grad2.data<float>(),at::cuda::getCurrentCUDAStream());
  590.                                                                                                     ^
  591. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  592.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  593.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  594.                  from src/structural_loss.cpp:1:
  595. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  596.    T * data() const {
  597.        ^~~~
  598. src/structural_loss.cpp:67:120: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  599.      matchcostgrad(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),grad1.data<float>(),grad2.data<float>(),at::cuda::getCurrentCUDAStream());
  600.                                                                                                                         ^
  601. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  602.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  603.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  604.                  from src/structural_loss.cpp:1:
  605. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  606.    T * data() const {
  607.        ^~~~
  608. src/structural_loss.cpp:67:140: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  609.      matchcostgrad(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),grad1.data<float>(),grad2.data<float>(),at::cuda::getCurrentCUDAStream());
  610.                                                                                                                                             ^
  611. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  612.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  613.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  614.                  from src/structural_loss.cpp:1:
  615. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  616.    T * data() const {
  617.        ^~~~
  618. src/structural_loss.cpp:67:160: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  619.      matchcostgrad(batch_size,n_dataset_points,n_query_points,set_d.data<float>(),set_q.data<float>(),match.data<float>(),grad1.data<float>(),grad2.data<float>(),at::cuda::getCurrentCUDAStream());
  620.                                                                                                                                                                 ^
  621. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  622.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  623.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  624.                  from src/structural_loss.cpp:1:
  625. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  626.    T * data() const {
  627.        ^~~~
  628. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  629.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  630.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  631.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  632.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  633.                  from src/structural_loss.cpp:1:
  634. src/structural_loss.cpp: In function ‘std::vector<at::Tensor> NNDistance(at::Tensor, at::Tensor)’:
  635. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  636.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  637.                                          ^
  638. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  639.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  640.                                        ^
  641. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  642.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  643.                                   ^~~~~~~~~~~~
  644. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  645.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  646.        ^~~~~~~~~~~~~~~~~~~~~
  647. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  648.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  649.                                 ^~~~~~~~~~~~~~~~~~~~~
  650. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  651.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  652.                        ^~~~~~~~~~
  653. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  654.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  655.                         ^~~~~~~~~~
  656. src/structural_loss.cpp:90:5: note: in expansion of macro ‘CHECK_INPUT’
  657.      CHECK_INPUT(set_d);
  658.      ^
  659. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  660.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  661.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  662.                  from src/structural_loss.cpp:1:
  663. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  664.    DeprecatedTypeProperties & type() const {
  665.                               ^~~~
  666. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  667.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  668.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  669.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  670.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  671.                  from src/structural_loss.cpp:1:
  672. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  673.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  674.                                          ^
  675. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  676.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  677.                                        ^
  678. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  679.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  680.                                   ^~~~~~~~~~~~
  681. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  682.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  683.        ^~~~~~~~~~~~~~~~~~~~~
  684. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  685.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  686.                                 ^~~~~~~~~~~~~~~~~~~~~
  687. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  688.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  689.                        ^~~~~~~~~~
  690. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  691.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  692.                         ^~~~~~~~~~
  693. src/structural_loss.cpp:91:5: note: in expansion of macro ‘CHECK_INPUT’
  694.      CHECK_INPUT(set_q);
  695.      ^
  696. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  697.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  698.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  699.                  from src/structural_loss.cpp:1:
  700. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  701.    DeprecatedTypeProperties & type() const {
  702.                               ^~~~
  703. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  704.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  705.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  706.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  707.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  708.                  from src/structural_loss.cpp:1:
  709. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  710.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  711.                                          ^
  712. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  713.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  714.                                        ^
  715. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  716.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  717.                                   ^~~~~~~~~~~~
  718. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  719.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  720.        ^~~~~~~~~~~~~~~~~~~~~
  721. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  722.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  723.                                 ^~~~~~~~~~~~~~~~~~~~~
  724. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  725.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  726.                        ^~~~~~~~~~
  727. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  728.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  729.                         ^~~~~~~~~~
  730. src/structural_loss.cpp:92:5: note: in expansion of macro ‘CHECK_INPUT’
  731.      CHECK_INPUT(dist1);
  732.      ^
  733. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  734.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  735.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  736.                  from src/structural_loss.cpp:1:
  737. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  738.    DeprecatedTypeProperties & type() const {
  739.                               ^~~~
  740. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  741.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  742.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  743.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  744.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  745.                  from src/structural_loss.cpp:1:
  746. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  747.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  748.                                          ^
  749. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  750.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  751.                                        ^
  752. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  753.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  754.                                   ^~~~~~~~~~~~
  755. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  756.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  757.        ^~~~~~~~~~~~~~~~~~~~~
  758. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  759.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  760.                                 ^~~~~~~~~~~~~~~~~~~~~
  761. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  762.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  763.                        ^~~~~~~~~~
  764. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  765.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  766.                         ^~~~~~~~~~
  767. src/structural_loss.cpp:93:5: note: in expansion of macro ‘CHECK_INPUT’
  768.      CHECK_INPUT(idx1);
  769.      ^
  770. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  771.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  772.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  773.                  from src/structural_loss.cpp:1:
  774. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  775.    DeprecatedTypeProperties & type() const {
  776.                               ^~~~
  777. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  778.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  779.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  780.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  781.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  782.                  from src/structural_loss.cpp:1:
  783. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  784.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  785.                                          ^
  786. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  787.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  788.                                        ^
  789. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  790.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  791.                                   ^~~~~~~~~~~~
  792. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  793.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  794.        ^~~~~~~~~~~~~~~~~~~~~
  795. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  796.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  797.                                 ^~~~~~~~~~~~~~~~~~~~~
  798. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  799.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  800.                        ^~~~~~~~~~
  801. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  802.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  803.                         ^~~~~~~~~~
  804. src/structural_loss.cpp:94:5: note: in expansion of macro ‘CHECK_INPUT’
  805.      CHECK_INPUT(dist2);
  806.      ^
  807. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  808.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  809.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  810.                  from src/structural_loss.cpp:1:
  811. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  812.    DeprecatedTypeProperties & type() const {
  813.                               ^~~~
  814. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  815.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  816.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  817.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  818.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  819.                  from src/structural_loss.cpp:1:
  820. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  821.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  822.                                          ^
  823. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  824.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  825.                                        ^
  826. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  827.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  828.                                   ^~~~~~~~~~~~
  829. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  830.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  831.        ^~~~~~~~~~~~~~~~~~~~~
  832. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  833.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  834.                                 ^~~~~~~~~~~~~~~~~~~~~
  835. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  836.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  837.                        ^~~~~~~~~~
  838. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  839.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  840.                         ^~~~~~~~~~
  841. src/structural_loss.cpp:95:5: note: in expansion of macro ‘CHECK_INPUT’
  842.      CHECK_INPUT(idx2);
  843.      ^
  844. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  845.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  846.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  847.                  from src/structural_loss.cpp:1:
  848. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  849.    DeprecatedTypeProperties & type() const {
  850.                               ^~~~
  851. src/structural_loss.cpp:97:62: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  852.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  853.                                                               ^
  854. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  855.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  856.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  857.                  from src/structural_loss.cpp:1:
  858. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  859.    T * data() const {
  860.        ^~~~
  861. src/structural_loss.cpp:97:97: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  862.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  863.                                                                                                  ^
  864. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  865.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  866.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  867.                  from src/structural_loss.cpp:1:
  868. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  869.    T * data() const {
  870.        ^~~~
  871. src/structural_loss.cpp:97:117: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  872.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  873.                                                                                                                      ^
  874. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  875.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  876.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  877.                  from src/structural_loss.cpp:1:
  878. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  879.    T * data() const {
  880.        ^~~~
  881. src/structural_loss.cpp:97:134: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  882.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  883.                                                                                                                                       ^
  884. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  885.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  886.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  887.                  from src/structural_loss.cpp:1:
  888. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  889.    T * data() const {
  890.        ^~~~
  891. src/structural_loss.cpp:97:154: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  892.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  893.                                                                                                                                                           ^
  894. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  895.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  896.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  897.                  from src/structural_loss.cpp:1:
  898. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  899.    T * data() const {
  900.        ^~~~
  901. src/structural_loss.cpp:97:171: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  902.      nndistance(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),dist1.data<float>(),idx1.data<int>(),dist2.data<float>(),idx2.data<int>(), at::cuda::getCurrentCUDAStream());
  903.                                                                                                                                                                            ^
  904. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  905.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  906.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  907.                  from src/structural_loss.cpp:1:
  908. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  909.    T * data() const {
  910.        ^~~~
  911. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  912.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  913.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  914.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  915.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  916.                  from src/structural_loss.cpp:1:
  917. src/structural_loss.cpp: In function ‘std::vector<at::Tensor> NNDistanceGrad(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
  918. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  919.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  920.                                          ^
  921. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  922.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  923.                                        ^
  924. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  925.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  926.                                   ^~~~~~~~~~~~
  927. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  928.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  929.        ^~~~~~~~~~~~~~~~~~~~~
  930. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  931.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  932.                                 ^~~~~~~~~~~~~~~~~~~~~
  933. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  934.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  935.                        ^~~~~~~~~~
  936. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  937.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  938.                         ^~~~~~~~~~
  939. src/structural_loss.cpp:109:5: note: in expansion of macro ‘CHECK_INPUT’
  940.      CHECK_INPUT(set_d);
  941.      ^
  942. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  943.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  944.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  945.                  from src/structural_loss.cpp:1:
  946. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  947.    DeprecatedTypeProperties & type() const {
  948.                               ^~~~
  949. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  950.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  951.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  952.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  953.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  954.                  from src/structural_loss.cpp:1:
  955. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  956.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  957.                                          ^
  958. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  959.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  960.                                        ^
  961. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  962.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  963.                                   ^~~~~~~~~~~~
  964. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  965.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  966.        ^~~~~~~~~~~~~~~~~~~~~
  967. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  968.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  969.                                 ^~~~~~~~~~~~~~~~~~~~~
  970. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  971.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  972.                        ^~~~~~~~~~
  973. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  974.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  975.                         ^~~~~~~~~~
  976. src/structural_loss.cpp:110:5: note: in expansion of macro ‘CHECK_INPUT’
  977.      CHECK_INPUT(set_q);
  978.      ^
  979. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  980.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  981.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  982.                  from src/structural_loss.cpp:1:
  983. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  984.    DeprecatedTypeProperties & type() const {
  985.                               ^~~~
  986. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  987.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  988.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  989.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  990.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  991.                  from src/structural_loss.cpp:1:
  992. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  993.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  994.                                          ^
  995. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  996.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  997.                                        ^
  998. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  999.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1000.                                   ^~~~~~~~~~~~
  1001. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1002.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1003.        ^~~~~~~~~~~~~~~~~~~~~
  1004. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1005.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1006.                                 ^~~~~~~~~~~~~~~~~~~~~
  1007. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1008.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1009.                        ^~~~~~~~~~
  1010. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1011.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1012.                         ^~~~~~~~~~
  1013. src/structural_loss.cpp:111:5: note: in expansion of macro ‘CHECK_INPUT’
  1014.      CHECK_INPUT(idx1);
  1015.      ^
  1016. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1017.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1018.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1019.                  from src/structural_loss.cpp:1:
  1020. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1021.    DeprecatedTypeProperties & type() const {
  1022.                               ^~~~
  1023. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  1024.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  1025.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  1026.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1027.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1028.                  from src/structural_loss.cpp:1:
  1029. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  1030.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1031.                                          ^
  1032. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  1033.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  1034.                                        ^
  1035. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  1036.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1037.                                   ^~~~~~~~~~~~
  1038. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1039.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1040.        ^~~~~~~~~~~~~~~~~~~~~
  1041. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1042.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1043.                                 ^~~~~~~~~~~~~~~~~~~~~
  1044. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1045.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1046.                        ^~~~~~~~~~
  1047. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1048.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1049.                         ^~~~~~~~~~
  1050. src/structural_loss.cpp:112:5: note: in expansion of macro ‘CHECK_INPUT’
  1051.      CHECK_INPUT(idx2);
  1052.      ^
  1053. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1054.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1055.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1056.                  from src/structural_loss.cpp:1:
  1057. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1058.    DeprecatedTypeProperties & type() const {
  1059.                               ^~~~
  1060. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  1061.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  1062.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  1063.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1064.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1065.                  from src/structural_loss.cpp:1:
  1066. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  1067.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1068.                                          ^
  1069. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  1070.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  1071.                                        ^
  1072. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  1073.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1074.                                   ^~~~~~~~~~~~
  1075. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1076.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1077.        ^~~~~~~~~~~~~~~~~~~~~
  1078. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1079.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1080.                                 ^~~~~~~~~~~~~~~~~~~~~
  1081. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1082.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1083.                        ^~~~~~~~~~
  1084. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1085.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1086.                         ^~~~~~~~~~
  1087. src/structural_loss.cpp:113:5: note: in expansion of macro ‘CHECK_INPUT’
  1088.      CHECK_INPUT(grad_dist1);
  1089.      ^
  1090. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1091.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1092.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1093.                  from src/structural_loss.cpp:1:
  1094. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1095.    DeprecatedTypeProperties & type() const {
  1096.                               ^~~~
  1097. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  1098.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  1099.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  1100.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1101.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1102.                  from src/structural_loss.cpp:1:
  1103. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  1104.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1105.                                          ^
  1106. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  1107.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  1108.                                        ^
  1109. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  1110.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1111.                                   ^~~~~~~~~~~~
  1112. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1113.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1114.        ^~~~~~~~~~~~~~~~~~~~~
  1115. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1116.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1117.                                 ^~~~~~~~~~~~~~~~~~~~~
  1118. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1119.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1120.                        ^~~~~~~~~~
  1121. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1122.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1123.                         ^~~~~~~~~~
  1124. src/structural_loss.cpp:114:5: note: in expansion of macro ‘CHECK_INPUT’
  1125.      CHECK_INPUT(grad_dist2);
  1126.      ^
  1127. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1128.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1129.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1130.                  from src/structural_loss.cpp:1:
  1131. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1132.    DeprecatedTypeProperties & type() const {
  1133.                               ^~~~
  1134. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  1135.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  1136.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  1137.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1138.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1139.                  from src/structural_loss.cpp:1:
  1140. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  1141.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1142.                                          ^
  1143. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  1144.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  1145.                                        ^
  1146. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  1147.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1148.                                   ^~~~~~~~~~~~
  1149. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1150.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1151.        ^~~~~~~~~~~~~~~~~~~~~
  1152. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1153.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1154.                                 ^~~~~~~~~~~~~~~~~~~~~
  1155. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1156.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1157.                        ^~~~~~~~~~
  1158. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1159.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1160.                         ^~~~~~~~~~
  1161. src/structural_loss.cpp:115:5: note: in expansion of macro ‘CHECK_INPUT’
  1162.      CHECK_INPUT(grad1);
  1163.      ^
  1164. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1165.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1166.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1167.                  from src/structural_loss.cpp:1:
  1168. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1169.    DeprecatedTypeProperties & type() const {
  1170.                               ^~~~
  1171. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
  1172.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
  1173.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
  1174.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1175.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1176.                  from src/structural_loss.cpp:1:
  1177. src/structural_loss.cpp:10:41: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  1178.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1179.                                          ^
  1180. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:225:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
  1181.  #define C10_EXPAND_MSVC_WORKAROUND(x) x
  1182.                                        ^
  1183. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:244:34: note: in expansion of macro ‘C10_UNLIKELY’
  1184.  #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
  1185.                                   ^~~~~~~~~~~~
  1186. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:291:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
  1187.    if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
  1188.        ^~~~~~~~~~~~~~~~~~~~~
  1189. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:484:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
  1190.      C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
  1191.                                 ^~~~~~~~~~~~~~~~~~~~~
  1192. src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
  1193.  #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
  1194.                        ^~~~~~~~~~
  1195. src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
  1196.  #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  1197.                         ^~~~~~~~~~
  1198. src/structural_loss.cpp:116:5: note: in expansion of macro ‘CHECK_INPUT’
  1199.      CHECK_INPUT(grad2);
  1200.      ^
  1201. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1202.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1203.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1204.                  from src/structural_loss.cpp:1:
  1205. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
  1206.    DeprecatedTypeProperties & type() const {
  1207.                               ^~~~
  1208. src/structural_loss.cpp:118:66: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1209.      nndistancegrad(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),
  1210.                                                                   ^
  1211. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1212.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1213.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1214.                  from src/structural_loss.cpp:1:
  1215. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1216.    T * data() const {
  1217.        ^~~~
  1218. src/structural_loss.cpp:118:101: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1219.      nndistancegrad(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),
  1220.                                                                                                      ^
  1221. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1222.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1223.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1224.                  from src/structural_loss.cpp:1:
  1225. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1226.    T * data() const {
  1227.        ^~~~
  1228. src/structural_loss.cpp:119:32: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1229.          grad_dist1.data<float>(),idx1.data<int>(),
  1230.                                 ^
  1231. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1232.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1233.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1234.                  from src/structural_loss.cpp:1:
  1235. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1236.    T * data() const {
  1237.        ^~~~
  1238. src/structural_loss.cpp:119:49: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1239.          grad_dist1.data<float>(),idx1.data<int>(),
  1240.                                                  ^
  1241. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1242.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1243.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1244.                  from src/structural_loss.cpp:1:
  1245. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1246.    T * data() const {
  1247.        ^~~~
  1248. src/structural_loss.cpp:120:32: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1249.          grad_dist2.data<float>(),idx2.data<int>(),
  1250.                                 ^
  1251. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1252.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1253.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1254.                  from src/structural_loss.cpp:1:
  1255. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1256.    T * data() const {
  1257.        ^~~~
  1258. src/structural_loss.cpp:120:49: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1259.          grad_dist2.data<float>(),idx2.data<int>(),
  1260.                                                  ^
  1261. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1262.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1263.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1264.                  from src/structural_loss.cpp:1:
  1265. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1266.    T * data() const {
  1267.        ^~~~
  1268. src/structural_loss.cpp:121:27: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1269.          grad1.data<float>(),grad2.data<float>(),
  1270.                            ^
  1271. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1272.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1273.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1274.                  from src/structural_loss.cpp:1:
  1275. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1276.    T * data() const {
  1277.        ^~~~
  1278. src/structural_loss.cpp:121:47: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
  1279.          grad1.data<float>(),grad2.data<float>(),
  1280.                                                ^
  1281. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  1282.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  1283.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
  1284.                  from src/structural_loss.cpp:1:
  1285. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
  1286.    T * data() const {
  1287.        ^~~~
  1288. NVCC src/approxmatch.cu
  1289. /usr/local/cuda/bin/nvcc -std=c++11 -ccbin=g++ -Xcompiler -fPIC -DNDEBUG -O3 -I./ -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -DTORCH_API_INCLUDE_EXTENSION_H -D_GLIBCXX_USE_CXX11_ABI=0 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_52,code=sm_52 -M src/approxmatch.cu -o objs/cuda/approxmatch.d \
  1290.         -odir objs/cuda
  1291. /usr/local/cuda/bin/nvcc -std=c++11 -ccbin=g++ -Xcompiler -fPIC -DNDEBUG -O3 -I./ -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -DTORCH_API_INCLUDE_EXTENSION_H -D_GLIBCXX_USE_CXX11_ABI=0 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_52,code=sm_52 -c src/approxmatch.cu -o objs/cuda/approxmatch.o
  1292. NVCC src/nndistance.cu
  1293. /usr/local/cuda/bin/nvcc -std=c++11 -ccbin=g++ -Xcompiler -fPIC -DNDEBUG -O3 -I./ -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -DTORCH_API_INCLUDE_EXTENSION_H -D_GLIBCXX_USE_CXX11_ABI=0 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_52,code=sm_52 -M src/nndistance.cu -o objs/cuda/nndistance.d \
  1294.         -odir objs/cuda
  1295. /usr/local/cuda/bin/nvcc -std=c++11 -ccbin=g++ -Xcompiler -fPIC -DNDEBUG -O3 -I./ -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -DTORCH_API_INCLUDE_EXTENSION_H -D_GLIBCXX_USE_CXX11_ABI=0 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_61,code=compute_61 -gencode arch=compute_52,code=sm_52 -c src/nndistance.cu -o objs/cuda/nndistance.o
  1296. rm -f -f ./objs/libmake_pytorch.a
  1297. rm -f -rf build dist
  1298. LD -o objs/libmake_pytorch.a
  1299. ar rc ./objs/libmake_pytorch.a ./objs/structural_loss.o ./objs/cuda/approxmatch.o ./objs/cuda/nndistance.o
  1300. python setup.py build
  1301. running build
  1302. running build_py
  1303. creating build
  1304. creating build/lib.linux-x86_64-3.6
  1305. creating build/lib.linux-x86_64-3.6/StructuralLosses
  1306. copying ./match_cost.py -> build/lib.linux-x86_64-3.6/StructuralLosses
  1307. copying ./nn_distance.py -> build/lib.linux-x86_64-3.6/StructuralLosses
  1308. copying ./__init__.py -> build/lib.linux-x86_64-3.6/StructuralLosses
  1309. running build_ext
  1310. building 'StructuralLossesBackend' extension
  1311. creating /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6
  1312. creating /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/pybind
  1313. Emitting ninja build file /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/build.ninja...
  1314. Compiling objects...
  1315. Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  1316. [1/1] c++ -MMD -MF /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/pybind/bind.o.d -pthread -B /home/aumam/.conda/envs/setvae/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/TH -I/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/aumam/.conda/envs/setvae/include/python3.6m -c -c /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/pybind/bind.cpp -o /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/pybind/bind.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=StructuralLossesBackend -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  1317. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  1318. In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:140:0,
  1319.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  1320.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  1321.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  1322.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
  1323.                  from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  1324.                  from /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/pybind/bind.cpp:3:
  1325. /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:83:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  1326.  #pragma omp parallel for if ((end - begin) >= grain_size)
  1327.  
  1328. g++ -pthread -shared -B /home/aumam/.conda/envs/setvae/compiler_compat -L/home/aumam/.conda/envs/setvae/lib -Wl,-rpath=/home/aumam/.conda/envs/setvae/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/pybind/bind.o -Lobjs -L/home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda/lib64 -lmake_pytorch -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.6/StructuralLossesBackend.cpython-36m-x86_64-linux-gnu.so
  1329.  
  1330.  
Add Comment
Please, Sign In to add comment