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

index error #7

Open
bonbonjour opened this issue Oct 20, 2018 · 1 comment
Open

index error #7

bonbonjour opened this issue Oct 20, 2018 · 1 comment

Comments

@bonbonjour
Copy link

when I run facade test pre-trained model code, it occurs indexError as follows:
File "/home/yt/splatnet/exp/facade3d/../../splatnet/semseg3d/test.py", line 211, in
args.dataset_params, save_dir, save_prefix, args.cpu)
File "/home/yt/splatnet/exp/facade3d/../../splatnet/semseg3d/test.py", line 96, in semseg_test
data, xyz, norms = dataset_facade.points(dims=input_dims+',x_y_z,nx_ny_nz', **dataset_params)
File "/home/yt/splatnet/splatnet/dataset/dataset_facade.py", line 98, in points
return tuple([pcl_data[:, idx] * sc for (idx, sc) in zip(feat_idxs, feat_scales)])
File "/home/yt/splatnet/splatnet/dataset/dataset_facade.py", line 98, in
return tuple([pcl_data[:, idx] * sc for (idx, sc) in zip(feat_idxs, feat_scales)])
IndexError: index 6 is out of bounds for axis 1 with size 6
I don,t know whether my installation is well installed

@suhangpro
Copy link
Contributor

Can you check if you have the data properly pre-processed as instructed here? pcl_test.ply should have 11 data columns and 6 should definitely not be out of bounds.

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