-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi! While running Kpconvx for s3dis, I am getting the following two errors. I tried to rename the functions and scripts and also set num_workers=0 but I am still getting these errors. It seems to be a compiling issue. However, I could not fix it so far. It's worth mentioning that I am using Standalone version. I also have tried Pointcept wrapper. I am getting a compilation error while running python3 setup.py build_ext --inplace (both for pointcept and standalone).
Any suggestion would be appreciated.
Error1:
File "/home/ntakhtke/DL_models/kpconvx_ori/Standalone/KPConvX/utils/cpp_funcs.py", line 88, in batch_grid_partition
s_points, s_len, pools, ups = cpp_subsampling.batch_grid_partitionning(points, #
AttributeError: module 'cpp_wrappers.cpp_subsampling.grid_subsampling' has no attribute 'batch_grid_partitionning'
Error 2:
Traceback (most recent call last):
File "/home/ntakhtke/miniconda3/envs/kpconvx/lib/python3.10/multiprocessing/util.py", line 357, in _exit_function
p.join()
File "/home/ntakhtke/miniconda3/envs/kpconvx/lib/python3.10/multiprocessing/process.py", line 149, in join
res = self._popen.wait(timeout)
File "/home/ntakhtke/miniconda3/envs/kpconvx/lib/python3.10/multiprocessing/popen_fork.py", line 43, in wait
return self.poll(os.WNOHANG if timeout == 0.0 else 0)
File "/home/ntakhtke/miniconda3/envs/kpconvx/lib/python3.10/multiprocessing/popen_fork.py", line 27, in poll
pid, sts = os.waitpid(self.pid, flag)
File "/home/ntakhtke/miniconda3/envs/kpconvx/lib/python3.10/site-packages/torch/utils/data/_utils/signal_handling.py", line 73, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 3649190) is killed by signal: Terminated.
Compilation error:
error: Command "gcc -pthread -B /home/ntakhtke/miniconda3/envs/kpconvx2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ntakhtke/miniconda3/envs/kpconvx2/include -fPIC -O2 -isystem /home/ntakhtke/miniconda3/envs/kpconvx2/include -fPIC -I/home/ntakhtke/miniconda3/envs/kpconvx2/lib/python3.10/site-packages/numpy/_core/include -I/home/ntakhtke/miniconda3/envs/kpconvx2/include/python3.10 -c grid_subsampling/grid_subsampling.cpp -o build/temp.linux-x86_64-cpython-310/grid_subsampling/grid_subsampling.o -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0" failed with exit status 1