GithubHelp home page GithubHelp logo

lyqun / fpconv Goto Github PK

View Code? Open in Web Editor NEW
133.0 8.0 16.0 1.57 MB

CVPR 2020, "FPConv: Learning Local Flattening for Point Convolution"

License: MIT License

Python 84.78% Shell 0.64% C++ 4.22% Cuda 9.25% C 1.10%
cvpr2020 point-cloud point-convolution scannet s3dis scene-understanding 3d-vision 3d-convolutions semantic-segmentation pytorch

fpconv's Issues

How many points to use?

Hi, thank you for your impressive work!
I notice that the paper said "Each block is of size 2m by 2m, containing 11k'', however, the default num_points configuration in the training script 'train_scannet.sh' is 8192.
It seems that you have explored the configuration of num_points and block_size on ScanNet v2, haven't you?
If so, could you please share your experience about this preprocessing configuration on ScanNet as well as on S3DIS?

Have a nice day!

Docker environment requirement

Awesome job, actually. For a more convenient way to repeat your experiment, could you please provide a dockerfile about your environment.

Performance for S3DIS dataset

Hi, thank you for the great work!

I have tried to train the model with S3DIS dataset, but the best mIoU I got is 0.607 at 82 epoch.
I wanna reproduce the model with 62.7 mIoU.
Can you give some more information to get performance in the paper?
It will be very helpful if I can know how you trained the best model.

hi,where to download module datasets?

Traceback (most recent call last):
File "train_scannet.py", line 13, in
from datasets.scannet_dataset_rgb import ScannetDataset, ScannetDatasetWholeScene
ModuleNotFoundError: No module named 'datasets'

Pre-processed ScanNet v2 dataset Link

Hi @lyqun , thank you for sharing the codes!

I have tried to download the pre-processed ScanNet Dataset that you provided with Google Drive link, but it seems not available.
Can you check the link of ScanNet Dataset you provided in README?

编译出错

作者你好,ubuntu22.04,gcc版本11.3过高,编译不行啊,cuda10.0按照你的要求配好环境但是gcc7不能安装咋办

S3DIS code

Hi, thank you for your good work! Would you open the codes about S3DIS segmentation?

can not download scannet?

Are these the only files _vh_clean_2.ply and _vh_clean_2.labels.ply you need to download to download the original Scannet dataset?This data set is too big to download

The Implementation of FPConv+Rigid_KPConv

Dear Yiqun,

I'm a little confused about how you implement FPConv+Rigid_KPConv.

As you stated in Sec4.3 of the paper, Fig.7 is very clear for combining FPConv with Pointnet++ or PointConv.
However, the statement of how you combining FPConv with KPConv is "we have second fusion strategy by concatenating their output features in the last second layer of networks, an then applying a tiny network for fusion.", which is a little bit confused for me.

Do you mean you parallel the whole KPConv network and the whole FPConv network and concatenate the output features in the last second layer of these two networks during training? Or if you just make some changes in Fig.7?

Due to this strategy gains the best performance in various tasks mentioned in your paper, it is meaningful if we can know the detailed implementation of this part.

I would also be highly appreciated if you could send me a simple figure to illustrate this part.

Thank you so much!

How many points used in ModelNet40 Classification task?

你好,我仔细阅读了你的论文,但是我们没有发现关于modelnet40实验上你们最终究竟是采用了多少个点作为输入呢?
这里可否方便告知一下,我们好加入对比算法中。
谢谢!

How to compile pointnet2-cuda on Linux?

Hi Authors:
My environment is ubuntu18.04, cuda 10.1, pytorch=1.7.0(I have checked the pytorch and cuda versions), how to compile the pointnet2-cuda version? Can this environment be compiled with pytorch=1.2.0? Thanks a lot.

How to solve this problem?

running install
running bdist_egg
running egg_info
creating pointnet2.egg-info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
reading manifest file 'pointnet2.egg-info/SOURCES.txt'
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'pointnet2_cuda' extension
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src
Emitting ninja build file /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/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/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -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 /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:4:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int gather_points_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:13:53: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:14:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:15:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:17:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int gather_points_grad_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:26:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:27:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:28:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:30:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int furthest_point_sampling_wrapper(int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:39:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:40:43: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float temp = temp_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:41:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:43:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[2/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -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 /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:5:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp: In function ‘int group_points_grad_wrapper_fast(int, int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:14:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:15:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:16:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:18:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp: In function ‘int group_points_wrapper_fast(int, int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:28:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:29:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:30:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:32:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[3/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -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 /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:3:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp: In function ‘int ball_query_wrapper_fast(int, int, int, float, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:39: 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_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(new_xyz_tensor);
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:80: error: ‘AT_CHECK’ was not declared in this scope
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(new_xyz_tensor);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:39: 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_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:17:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(xyz_tensor);
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:18:55: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float new_xyz = new_xyz_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:19:47: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float xyz = xyz_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:20:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:22:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[4/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -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 /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:3:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_nn_wrapper_fast(int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:16:55: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float unknown = unknown_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:17:51: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float known = known_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:18:45: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float dist2 = dist2_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:19:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:21:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_interpolate_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:32:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:33:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float weight = weight_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:34:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:35:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:37:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_interpolate_grad_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:47:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:48:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float weight = weight_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:49:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:50:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int *idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:52:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[5/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[6/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[7/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[8/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[9/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/pointnet2_api.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/pointnet2_api.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/pointnet2_api.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -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 /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/pointnet2_api.cpp:2:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build
env=env)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "setup.py", line 22, in
cmdclass={'build_ext': BuildExtension}
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
build_ext.build_extensions(self)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

syntax error

there seems to be an extra comma in fpconv/pointnet2/pytorch_utils.py, line 16

How to evaluate the ScanNet online test split?

Hi @lyqun , I try to evaluate the ScanNet online test split, it seems that running the "test_scannet.sh" with "--mode test" can't produce the required prediction results. Therefore, I change the fuction "write_to_file". The original function "write_to_file":

def write_to_file(path, probs):
'''
:param path: path to save predicted label
:param probs: N,22
'''
file_name = path + ('.txt' if args.mode == 'test' else '.npy')
if args.skip_exist and os.path.isfile(file_name):
print(' -- file exists, skip', file_name)
return
if args.mode == 'test':
predict = np.argmax(probs[:, 1:], axis=1) # pn
predict += 1
predict = class_dict[predict]
np.savetxt(path + '.txt', predict)
else:
np.save(path, probs)
print(' -- save file to ====>', file_name)

I change the second "if" condition and the saved filename for prediction result to meet the submission requirement, after I change:

def write_to_file(path, probs):
'''
:param path: path to save predicted label
:param probs: N,22
'''
file_name = path + ('.txt' if args.mode == 'test' else '.npy')
if args.skip_exist and os.path.isfile(file_name):
print(' -- file exists, skip', file_name)
return
if args.mode == 'test' and path.find('_preds') > 0 :
predict = np.argmax(probs[:, 1:], axis=1) # pn
predict += 1
predict = class_dict[predict]
np.savetxt(path[:-6] + '.txt', predict, fmt='%d')
else:
np.save(path, probs)
print(' -- save file to ====>', file_name)

When I run the test_scannet.sh again, it generate the '.txt' files as follows:
2020-09-23 21-36-59屏幕截图

Inside each file, it looks like as follows:
2020-09-23 21-42-34屏幕截图

It seems that these files has meet the submission requirement, but when I zip them and submit, it returns a "Evaluation failed":
2020-09-23 21-36-23屏幕截图

How can I generate the required submission files?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.