ModuleNotFoundError: No module named 'pcdet'
See original GitHub issueHello everyone,
After the installation of the pcdet pip package I can’t find it. When I type pip list i can’t see pcdet. I have followed the installations steps locally and even using the docker image but don’t seem to be working for me. As soon as i run the demo it says ModuleNotFoundError: No module named 'pcdet'
How can i solve this issue?
This is the output of my python setup.py develop that seems to end correctly:
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp: In function ‘int ball_query_wrapper_fast(int, int, int, float, int, at::Tensor, at::Tensor, at::Tensor)’:
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:18:16: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
if (!x.type().is_cuda()) { \
^
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:29:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:34:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(new_xyz_tensor);
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:18:16: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
if (!x.type().is_cuda()) { \
^
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:29:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:35:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(xyz_tensor);
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:36:55: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const float *new_xyz = new_xyz_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:37:47: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const float *xyz = xyz_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:38:37: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
int *idx = idx_tensor.data<int>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
[4/9] c++ -MMD -MF /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
from /root/.local/lib/python3.7/site-packages/torch/include/TH/THTensorApply.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/TH/THTensor.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/THC/THCTensor.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/THC/THC.h:13,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:11:
/root/.local/lib/python3.7/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)
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp: In function ‘int gather_points_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:20:53: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const float *points = points_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:21:43: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const int *idx = idx_tensor.data<int>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:22:41: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
float *out = out_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp: In function ‘int gather_points_grad_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:32:57: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const float *grad_out = grad_out_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:33:43: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const int *idx = idx_tensor.data<int>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:34:57: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
float *grad_points = grad_points_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp: In function ‘int farthest_point_sampling_wrapper(int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:44:53: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
const float *points = points_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:45:43: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
float *temp = temp_tensor.data<float>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
/root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:46:37: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
int *idx = idx_tensor.data<int>();
^
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/.local/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.cpp:8:
/root/.local/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
T * data() const {
^~~~
[5/9] /usr/local/cuda/bin/nvcc -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/interpolate_gpu.cu -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/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'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
[6/9] /usr/local/cuda/bin/nvcc -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/sampling_gpu.cu -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/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'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
[7/9] /usr/local/cuda/bin/nvcc -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query_gpu.cu -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/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'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
[8/9] /usr/local/cuda/bin/nvcc -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/group_points_gpu.cu -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/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'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
/root/.local/lib/python3.7/site-packages/torch/include/ATen/record_function.h(18): warning: attribute "__visibility__" does not apply here
[9/9] c++ -MMD -MF /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/pointnet2_api.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/root/.local/lib/python3.7/site-packages/torch/include -I/root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/root/.local/lib/python3.7/site-packages/torch/include/TH -I/root/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c -c /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/pointnet2_api.cpp -o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/pointnet2_api.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_batch_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
In file included from /root/.local/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /root/.local/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
from /root/OpenPCDet/pcdet/ops/pointnet2/pointnet2_batch/src/pointnet2_api.cpp:2:
/root/.local/lib/python3.7/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)
creating build/lib.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/ball_query_gpu.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/group_points.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/group_points_gpu.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/interpolate.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/interpolate_gpu.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/pointnet2_api.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/sampling.o /root/OpenPCDet/build/temp.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/src/sampling_gpu.o -L/root/.local/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda/lib64 -L/usr/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_batch_cuda.cpython-37m-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-cpython-37/pcdet/ops/iou3d_nms/iou3d_nms_cuda.cpython-37m-x86_64-linux-gnu.so -> pcdet/ops/iou3d_nms
copying build/lib.linux-x86_64-cpython-37/pcdet/ops/roiaware_pool3d/roiaware_pool3d_cuda.cpython-37m-x86_64-linux-gnu.so -> pcdet/ops/roiaware_pool3d
copying build/lib.linux-x86_64-cpython-37/pcdet/ops/roipoint_pool3d/roipoint_pool3d_cuda.cpython-37m-x86_64-linux-gnu.so -> pcdet/ops/roipoint_pool3d
copying build/lib.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_stack/pointnet2_stack_cuda.cpython-37m-x86_64-linux-gnu.so -> pcdet/ops/pointnet2/pointnet2_stack
copying build/lib.linux-x86_64-cpython-37/pcdet/ops/pointnet2/pointnet2_batch/pointnet2_batch_cuda.cpython-37m-x86_64-linux-gnu.so -> pcdet/ops/pointnet2/pointnet2_batch
Creating /usr/lib/python3.7/site-packages/pcdet.egg-link (link to .)
Adding pcdet 0.5.2+846cf3e to easy-install.pth file
Installed /root/OpenPCDet
Processing dependencies for pcdet==0.5.2+846cf3e
Searching for SharedArray==3.2.1
Best match: SharedArray 3.2.1
Adding SharedArray 3.2.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for tqdm==4.64.0
Best match: tqdm 4.64.0
Adding tqdm 4.64.0 to easy-install.pth file
Installing tqdm script to /usr/bin
Using /usr/local/lib/python3.7/dist-packages
Searching for scikit-image==0.19.2
Best match: scikit-image 0.19.2
Adding scikit-image 0.19.2 to easy-install.pth file
Installing skivi script to /usr/bin
Using /usr/local/lib/python3.7/dist-packages
Searching for PyYAML==6.0
Best match: PyYAML 6.0
Adding PyYAML 6.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for easydict==1.9
Best match: easydict 1.9
Adding easydict 1.9 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for tensorboardX==2.5
Best match: tensorboardX 2.5
Adding tensorboardX 2.5 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for numba==0.55.1
Best match: numba 0.55.1
Adding numba 0.55.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for llvmlite==0.38.1
Best match: llvmlite 0.38.1
Adding llvmlite 0.38.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for numpy==1.19.3
Best match: numpy 1.19.3
Adding numpy 1.19.3 to easy-install.pth file
Installing f2py script to /usr/bin
Installing f2py3 script to /usr/bin
Installing f2py3.7 script to /usr/bin
Using /usr/local/lib/python3.7/dist-packages
Searching for packaging==21.3
Best match: packaging 21.3
Adding packaging 21.3 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for PyWavelets==1.3.0
Best match: PyWavelets 1.3.0
Adding PyWavelets 1.3.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for tifffile==2021.11.2
Best match: tifffile 2021.11.2
Adding tifffile 2021.11.2 to easy-install.pth file
Installing lsm2bin script to /usr/bin
Installing tiff2fsspec script to /usr/bin
Installing tiffcomment script to /usr/bin
Installing tifffile script to /usr/bin
Using /usr/local/lib/python3.7/dist-packages
Searching for imageio==2.19.2
Best match: imageio 2.19.2
Adding imageio 2.19.2 to easy-install.pth file
Installing imageio_download_bin script to /usr/bin
Installing imageio_remove_bin script to /usr/bin
Using /usr/local/lib/python3.7/dist-packages
Searching for Pillow==9.1.1
Best match: Pillow 9.1.1
Adding Pillow 9.1.1 to easy-install.pth file
Using /root/.local/lib/python3.7/site-packages
Searching for networkx==2.6.3
Best match: networkx 2.6.3
Adding networkx 2.6.3 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for scipy==1.7.3
Best match: scipy 1.7.3
Adding scipy 1.7.3 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for protobuf==3.20.1
Best match: protobuf 3.20.1
Adding protobuf 3.20.1 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for setuptools==62.3.2
Best match: setuptools 62.3.2
Adding setuptools 62.3.2 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Searching for pyparsing==3.0.9
Best match: pyparsing 3.0.9
Adding pyparsing 3.0.9 to easy-install.pth file
Using /usr/local/lib/python3.7/dist-packages
Finished processing dependencies for pcdet==0.5.2+846cf3e
my pip list:
root@63061ae39a80:~/OpenPCDet# pip list
Package Version
------------------ -----------
ccimport 0.3.7
certifi 2022.5.18.1
charset-normalizer 2.0.12
cumm-cu102 0.2.8
easydict 1.9
fire 0.4.0
future 0.18.2
idna 3.3
imageio 2.19.2
importlib-metadata 4.11.3
iotop 0.6
lark 1.1.2
llvmlite 0.38.1
networkx 2.6.3
ninja 1.10.2.3
numba 0.55.1
numpy 1.19.3
packaging 21.3
pccm 0.3.4
Pillow 9.1.1
pip 22.1
portalocker 2.4.0
protobuf 3.20.1
pybind11 2.9.2
pyparsing 3.0.9
PyWavelets 1.3.0
PyYAML 6.0
requests 2.27.1
scikit-image 0.19.2
scipy 1.7.3
setuptools 62.3.2
SharedArray 3.2.1
six 1.16.0
spconv-cu102 2.1.21
tensorboardX 2.5
termcolor 1.1.0
tifffile 2021.11.2
torch 1.6.0
torchvision 0.7.0
tqdm 4.64.0
typing_extensions 4.2.0
urllib3 1.26.9
wheel 0.37.1
zipp 3.8.0
Thank you
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
no module named "pcdet.utils" · Issue #692 - GitHub
Finished processing dependencies for pcdet==0.5.0+0 python demo.py --cfg_file cfgs / kitti_models / pv_rcnn.yaml --ckpt pv_rcnn__8369.pth ...
Read more >ModuleNotFoundError: No module named 'google.colab'
This module is required for accessing files on Google drive from python. How can I resolve this error? python · conda · google-colaboratory....
Read more >mmdet.ipynb - Colaboratory - Google Colab
/usr/local/lib/python3.7/dist-packages/mmdet/__init__.py in <module>() ----> 1 import mmcv 2 3 from .version ... ModuleNotFoundError: No module named 'mmcv'
Read more >openpcdet项目代码(调试及问答记录) - CSDN博客
ModuleNotFoundError : No module named 'pcdet' ... /github/openpcdet/openpcdet/pcdet/models/__init__.py", line 6, in <module> from .detectors ...
Read more >OpenPCDet安装 - 知乎专栏
6、安装pcdet v0.3. git clone https://github.com/open-mmlab/OpenPCDet.git cd OpenPCDet pip install -r requirements.txt python setup.py develop.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Add ‘import _init_path’ before the imports of pcdet in demo.py worked for me.
@lindahua Hello, Did you solve this problem? I have the same problem. and I tried adding
import _init_pathbefor pcdet errors in demp.py, but still got the same error. would you please say how did you solve it?