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

Unable to build iou3d_NMS #409

Open
shifu-learner opened this issue Jan 10, 2024 · 0 comments
Open

Unable to build iou3d_NMS #409

shifu-learner opened this issue Jan 10, 2024 · 0 comments

Comments

@shifu-learner
Copy link

Hi,

I followed the installation procedure as mentioned. But when I build iou3d_NMS it returns an error.
I am new to object detection task. Could you please help me resolve this issue.
Below is the error:

(centerpoint) manjunat@tesla:~/mydocker/MGTANet/det3d/ops/iou3d_nms$ python setup.py build_ext --inplace
running build_ext
Traceback (most recent call last):
File "setup.py", line 16, in
cmdclass={'build_ext': BuildExtension})
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 232, in build_extensions
self._check_abi()
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 370, in _check_abi
check_compiler_abi_compatibility(compiler)
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 162, in check_compiler_abi_compatibility
if not check_compiler_ok_for_platform(compiler):
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 138, in check_compiler_ok_for_platform
which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT)
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/raid/home/manjunat/miniconda3/envs/centerpoint/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1.

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