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

when loading custom ply using the steps from tanks it doesn't get color #48

Open
AndreV84 opened this issue Nov 17, 2020 · 1 comment
Open

Comments

@AndreV84
Copy link

`python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import numpy as np
import pptk
import plyfile
data = plyfile.PlyData.read('cloud.ply')['vertex']
xyz = np.c_[data['x'], data['y'], data['z']]
rgb = np.c_[data['red'], data['green'], data['blue']]
n = np.c_[data['nx'], data['ny'], data['nz']]
Traceback (most recent call last):
File "", line 1, in
File "/home/nvidia/.local/lib/python3.6/site-packages/plyfile.py", line 770, in getitem
return self.data[key]
File "/home/nvidia/.local/lib/python3.6/site-packages/numpy/core/memmap.py", line 331, in getitem
res = super(memmap, self).getitem(index)
ValueError: no field of name nx`

@AndreV84
Copy link
Author

could you also extend on the installation issuees, please?
https://forums.developer.nvidia.com/t/building-pptk-on-xavier-how-to-get-through/160079

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