Closed medif closed 3 years ago
Did you figure it out?
Otherwise please report the value of .shape and dtype for xyz and labels.
Hi, It was working fine until i changed my data structure. Now i am using 3 classes (0 as unlabled )
Can you help me please
why is the label type 'f2'? it should be 'uint8'.
Hi, I have a dataset without rgb values with 9 classes labeled and the format is .npy (type float32) I changed the line like: xyz,labels = libply_c.prune(xyz, args.voxel_width,np.zeros(xyz.shape,dtype='u1'),labels,np.zeros(1, dtype='uint8'),9,0) but it throw an error IndexError: vector::_M_range_check: __n (which is 64) >= this->size() (which is 10)
, any suggestions please Thank you