Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/box error #30

Open
jccjd opened this issue Aug 3, 2020 · 6 comments
Open

build/box error #30

jccjd opened this issue Aug 3, 2020 · 6 comments

Comments

@jccjd
Copy link

jccjd commented Aug 3, 2020

when i do that

cd build/box
python setup.py install

I got this error

   84 | #pragma omp parallel for if ((end - begin) >= grain_size)
      | 
In file included from box.cpp:4:
nms.cpp: In functionint cpu_nms(at::Tensor*, at::Tensor*, at::Tensor*, at::Tensor*, at::Tensor*, float)’:
nms.cpp:7:5: error: ‘AT_CHECKwas not declared in this scope; did you meanDCHECK’?
    7 |     AT_CHECK(keep_out->is_contiguous(), "argument#1(keep_out) must be contiguous");
      |     ^~~~~~~~
      |     DCHECK
nms.cpp:16:47: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   16 |     auto keep_out_flat = keep_out->data<long>();
      |                                               ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:4:
nms.cpp:17:42: 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]
   17 |     auto boxes_flat = boxes->data<float>();
      |                                          ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:4:
nms.cpp:18:41: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   18 |     auto order_flat = order->data<long>();
      |                                         ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:4:
nms.cpp:19:43: 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]
   19 |     auto areas_flat =  areas->data<float>();
      |                                           ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:4:
nms.cpp:22: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]
   22 |     auto suppressed_flat = suppressed.data<int>();
      |                                                 ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:4:
nms.cpp:96:45: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   96 |     auto num_out_flat = num_out->data<long>();
      |                                             ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:5:
overlap.cpp: In functionint cpu_overlap(at::Tensor*, at::Tensor*, at::Tensor*)’:
overlap.cpp:8:5: error: ‘AT_CHECKwas not declared in this scope; did you meanDCHECK’?
    8 |     AT_CHECK(boxes1->is_contiguous(), "argument#1(boxes1) must be contiguous");
      |     ^~~~~~~~
      |     DCHECK
overlap.cpp:23:44: 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]
   23 |     auto boxes1_flat = boxes1->data<float>();
      |                                            ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:5:
overlap.cpp:24:44: 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]
   24 |     auto boxes2_flat = boxes2->data<float>();
      |                                            ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:5:
overlap.cpp:25:46: 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]
   25 |     auto overlap_flat = overlap->data<float>();
      |                                              ^
In file included from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from box.cpp:1:
/home/mmv2/Downloads/ct_gui/NoduleNet/nodule_env/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
In file included from box.cpp:5:
overlap.cpp:20:10: warning: unused variableoverlap_num’ [-Wunused-variable]
   20 |     long overlap_num = overlap->sizes()[0];
      |          ^~~~~~~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
@Min-Sheng
Copy link

I meet the same problem! Does anyone have the solution? @jccjd , did you solve it?

@Min-Sheng
Copy link

Hi guys, after I struggle a lot, I solved it!
My pytorch vision is 1.5 and CUDA is 10.1
I first install ninja package:
pip3 install ninja
and replace AT_CHECK in all cpp files with TORCH_CHECK
(see the similar issue in mmdetection: open-mmlab/mmdetection#3363)

@fengz63
Copy link

fengz63 commented Nov 22, 2020

Hi guys, after I struggle a lot, I solved it!
My pytorch vision is 1.5 and CUDA is 10.1
I first install ninja package:
pip3 install ninja
and replace AT_CHECK in all cpp files with TORCH_CHECK
(see the similar issue in mmdetection: open-mmlab/mmdetection#3363)

Thanks for your answer. I have solved my question.

@adore1979
Copy link

Hi guys, after I struggle a lot, I solved it! My pytorch vision is 1.5 and CUDA is 10.1 I first install ninja package: pip3 install ninja and replace AT_CHECK in all cpp files with TORCH_CHECK (see the similar issue in mmdetection: open-mmlab/mmdetection#3363)

thank you

@frankchen121212
Copy link

Hi guys, after I struggle a lot, I solved it! My pytorch vision is 1.5 and CUDA is 10.1 I first install ninja package: pip3 install ninja and replace AT_CHECK in all cpp files with TORCH_CHECK (see the similar issue in mmdetection: open-mmlab/mmdetection#3363)

So much thanks!!!! This solution works perfectly!

@streaky97
Copy link

Hi guys, after I struggle a lot, I solved it! My pytorch vision is 1.5 and CUDA is 10.1 I first install ninja package: pip3 install ninja and replace AT_CHECK in all cpp files with TORCH_CHECK (see the similar issue in mmdetection: open-mmlab/mmdetection#3363)

Thank you very much. It helps me a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants