Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

s3dis errors-no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal #3

Open
narges-tk opened this issue Jan 2, 2025 · 0 comments

Comments

@narges-tk
Copy link

narges-tk commented Jan 2, 2025

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. In Pointcept case I am getting compiling error (also likewise for Standalone) while running python3 setup.py build_ext --inplace.

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

@narges-tk narges-tk changed the title no attribute 'batch_grid_partitionning' no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal Jan 2, 2025
@narges-tk narges-tk changed the title no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal s3dis run errors-no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal Jan 2, 2025
@narges-tk narges-tk changed the title s3dis run errors-no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal s3dis errors-no attribute 'batch_grid_partitionning' and (pid 3649190) is killed by signal Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant