OpenPCDet
                                
                                 OpenPCDet copied to clipboard
                                
                                    OpenPCDet copied to clipboard
                            
                            
                            
                        Install OpenPCDet on GOOGLE Colab platform, but RunERROR: Error compiling objects for extension
Hi,
i want to try demo.py on Google Colab platform. All is perfect but when i want to install 'pcdet' library
python setup.py develop
i meet an error, this
/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:484: UserWarning: Normalizing '0.5.2+0000000' to '0.5.2+0'
warnings.warn(tmpl.format(**locals()))
running develop
running egg_info
writing pcdet.egg-info/PKG-INFO
writing dependency_links to pcdet.egg-info/dependency_links.txt
writing requirements to pcdet.egg-info/requires.txt
writing top-level names to pcdet.egg-info/top_level.txt
reading manifest file 'pcdet.egg-info/SOURCES.txt'
writing manifest file 'pcdet.egg-info/SOURCES.txt'
running build_ext
building 'content.OpenPCDet.pcdet.ops.iou3d_nms.iou3d_nms_cuda' extension
Emitting ninja build file /content/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: error: '/content/content/OpenPCDet/pcdet/ops/iou3d_nms/src/iou3d_cpu.cpp', needed by '/content/build/temp.linux-x86_64-3.7/content/OpenPCDet/pcdet/ops/iou3d_nms/src/iou3d_cpu.o', missing and no known rule to make it
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "/usr/lib/python3.7/subprocess.py", line 512, 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 "/content/OpenPCDet/setup.py", line 116, in 
my version (default version of colab): pytorch 1.11.0 cuda 11.3 cmake 3.22.5 python 3.7.13
does someone have the same problem and how to solve that? i try a lot of version combinations but have no effect.
Thanks!
Have you successfully installed ? I also want to run in Google Colab but it shows that google colab don't support the visualization tools so it can't show the image with 3d object detection bouding box. With the setup.py I can run on Google Colab but now I want to run it locally on VSCode but also got the same error as you are. I think it is about Pytorch and CUDA compatible version problem. What version are you using?
@Cappuccinoll  @leducnguyen21
Hello, I've occurred this before and I solved it. You can refer to README of https://github.com/OrangeSodahub/CRLFnet#install--build In the part of INSTALL & BUILD
There pointed out the version of Pytorch and cuda. And any other problems when using OpenPCDet could also refer to it.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.