loicland / superpoint_graph

Large-scale Point Cloud Semantic Segmentation with Superpoint Graphs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A question about writing labels

zzusunquan opened this issue · comments

when i run the python partition/write_Semantic3d.py --SEMA3D_PATH /home/s206/Documents/sunquan/superpoint_graph-ssp-spg/SEMA3D_DIR --odir "results/sema3d/trainval_best" --db_test_name testred
An error occurred `=================
test_reduced/

1 / 4---> sg27_station10
reading the subsampled file...
upsampling...
Traceback (most recent call last):
File "partition/write_Semantic3d.py", line 63, in
labels_full = reduced_labels2full(labels_red, components, n_ver)
File "/home/s206/Documents/sunquan/superpoint_graph-ssp-spg/partition/provider.py", line 604, in reduced_labels2full
labels_full[components[i_com]] = labels_red[i_com]
IndexError: index 4914 is out of bounds for axis 0 with size 4914

` Can you tell how to solve it