Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myusername@server~.../setvae$ bash install.sh
- CXX src/structural_loss.cpp
- 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
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:140:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from src/structural_loss.cpp:2:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:83:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
- #pragma omp parallel for if ((end - begin) >= grain_size)
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- src/structural_loss.cpp: In function ‘std::vector<at::Tensor> ApproxMatch(at::Tensor, at::Tensor)’:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_d);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:31:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_q);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:32:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(match);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:33:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(temp);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- src/structural_loss.cpp: In function ‘at::Tensor MatchCost(at::Tensor, at::Tensor, at::Tensor)’:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:46:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_d);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:47:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_q);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:48:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(match);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:49:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(out);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- src/structural_loss.cpp: In function ‘std::vector<at::Tensor> MatchCostGrad(at::Tensor, at::Tensor, at::Tensor)’:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:62:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_d);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:63:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_q);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:64:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(match);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:65:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:66:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- src/structural_loss.cpp: In function ‘std::vector<at::Tensor> NNDistance(at::Tensor, at::Tensor)’:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:90:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_d);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:91:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_q);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:92:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(dist1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:93:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(idx1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:94:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(dist2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:95:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(idx2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- 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());
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- src/structural_loss.cpp: In function ‘std::vector<at::Tensor> NNDistanceGrad(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:109:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_d);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:110:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(set_q);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:111:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(idx1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:112:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(idx2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:113:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad_dist1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:114:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad_dist2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:115:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad1);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- 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]
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /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’
- #define C10_EXPAND_MSVC_WORKAROUND(x) x
- ^
- /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’
- #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
- ^~~~~~~~~~~~
- /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’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /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’
- C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
- ^~~~~~~~~~~~~~~~~~~~~
- src/structural_loss.cpp:10:23: note: in expansion of macro ‘AT_ASSERTM’
- #define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~
- src/structural_loss.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- src/structural_loss.cpp:116:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(grad2);
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:303:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- 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]
- nndistancegrad(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- nndistancegrad(batch_size,n_dataset_points,set_d.data<float>(),n_query_points,set_q.data<float>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad_dist1.data<float>(),idx1.data<int>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad_dist1.data<float>(),idx1.data<int>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad_dist2.data<float>(),idx2.data<int>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad_dist2.data<float>(),idx2.data<int>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad1.data<float>(),grad2.data<float>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- 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]
- grad1.data<float>(),grad2.data<float>(),
- ^
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:14,
- from src/structural_loss.cpp:1:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:395:7: note: declared here
- T * data() const {
- ^~~~
- NVCC src/approxmatch.cu
- /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 \
- -odir objs/cuda
- /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
- NVCC src/nndistance.cu
- /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 \
- -odir objs/cuda
- /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
- rm -f -f ./objs/libmake_pytorch.a
- rm -f -rf build dist
- LD -o objs/libmake_pytorch.a
- ar rc ./objs/libmake_pytorch.a ./objs/structural_loss.o ./objs/cuda/approxmatch.o ./objs/cuda/nndistance.o
- python setup.py build
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/StructuralLosses
- copying ./match_cost.py -> build/lib.linux-x86_64-3.6/StructuralLosses
- copying ./nn_distance.py -> build/lib.linux-x86_64-3.6/StructuralLosses
- copying ./__init__.py -> build/lib.linux-x86_64-3.6/StructuralLosses
- running build_ext
- building 'StructuralLossesBackend' extension
- creating /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6
- creating /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/pybind
- Emitting ninja build file /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/build/temp.linux-x86_64-3.6/build.ninja...
- Compiling objects...
- Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
- [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
- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
- In file included from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:140:0,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
- from /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /home/aumam/dev/gan/new_setvae/setvae/metrics/pytorch_structural_losses/pybind/bind.cpp:3:
- /home/aumam/.conda/envs/setvae/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:83:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
- #pragma omp parallel for if ((end - begin) >= grain_size)
- 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
Add Comment
Please, Sign In to add comment