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

AttributeError: 'NoneType' object has no attribute 'background_color' #17

Closed
ahtchow opened this issue May 6, 2021 · 1 comment
Closed

Comments

@ahtchow
Copy link

ahtchow commented May 6, 2021

Traceback (most recent call last):
File "core/pointpillars_detector.py", line 156, in
detector.predict_on_nucenes_local_file(sys.argv[1])
File "core/pointpillars_detector.py", line 146, in predict_on_nucenes_local_file
draw_pcs_open3d(geometries)
File "/usr/local/lib/python3.8/dist-packages/alfred/vis/pointcloud/pointcloud_vis.py", line 76, in draw_pcs_open3d
opt.background_color = np.asarray([0, 0, 0])
AttributeError: 'NoneType' object has no attribute 'background_color'

when following: https://pythonawesome.com/a-deep-learning-utility-library-for-visualization-and-sensor-fusion-purpose/

@lucasjinreal
Copy link
Owner

@ahtchow As for open3d > 0.9.0, API seems changed a lot. I am not able to upgrade to latest one, I should but seems open3d not compatible on my system.

So please using open3d=0.9.0 for the moment.

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

2 participants