open-mmlab / OpenPCDet

OpenPCDet Toolbox for LiDAR-based 3D Object Detection.
Apache License 2.0
4.68k stars 1.3k forks source link

Visulisation Issue via using mayavi #358

Closed neisakutou closed 2 years ago

neisakutou commented 3 years ago

Really appreciate ur work on this great platform.

Well, after I successfully finished the installation and went for the quick demo locally, I met some troubles.

Basically, I did install mayavi & qt by instructions.

The thing is that:

Here is the environment: cuda: 9.0.176 pytorch: 1.1.0 python: 3.6.6 spconv: v1.0 mayavi: 4.7.2 (via pip) PyQt5: 5.15.1 (via pip)

I've checked similar issues but unfortunately couldn't make it. Thanks a lot.

sshaoshuai commented 3 years ago

It should be the problem of mayavi. Maybe you could first try to use some demos of mayavi to check whether it could visualize points sucessfully.

neisakutou commented 3 years ago

It should be the problem of mayavi. Maybe you could first try to use some demos of mayavi to check whether it could visualize points sucessfully.

Cheers. Thanks for ur reply and will update anything new.

Btw, any alternative method for visualization?

sshaoshuai commented 3 years ago

There may exist some other tools for visualization of point clouds, such as PCL, but I never used them.

neisakutou commented 3 years ago

There may exist some other tools for visualization of point clouds, such as PCL, but I never used them.

Updates!

Considering of the crash of using mayavi, alternatively, I switched it to Open3d. Fortunately, it works. And for people who met similar issues using mayavi, this one could be an option.

Thank u so much for ur reply and response.

K-Young96 commented 3 years ago

sudo pip3 install pyqt5==5.10.1 -i https://pypi.doubanio.com/simple

K-Young96 commented 3 years ago

sudo pip3 install pyqt5==5.10.1 -i https://pypi.doubanio.com/simple

must use '5.10.1'

tsbhun98 commented 3 years ago

I had the same problem and it was caused by PyQt. After I removed it and installed PySide instead everything worked for me.

chenxyyy commented 3 years ago

you can use open3d instead of mayavi to display the inference result. It is much easier than mayavi .

yinggo commented 3 years ago

I changed the pyqt5 version by pip3 install pyqt5==5.10.1 -i https://pypi.doubanio.com/simple and in demo.py, I moved import mayavi.mlab as mlab before 'V.draw_scenes', it works.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.