-
Notifications
You must be signed in to change notification settings - Fork 52
Stanford data preprocessing #48
Description
Hello, I highly appreciate you for sharing the code.
It seems that in SpatioTemporalSegmentation/lib/datasets/preprocessing/stanford.py, the below code returns an error.
inds, collabels = ME.utils.sparse_quantize(
coords,
feats,
labels,
return_index=True,
ignore_label=255,
quantization_size=0.01 # 1cm
)

My MinkowskiEngine version is 0.5.0 so I changed the code like this :
coords, feats, collabels = ME.utils.sparse_quantize(
coords,
feats,
labels,
return_index=False,
ignore_label=255,
quantization_size=0.01 # 1cm
)
pointcloud = np.concatenate((coords, feats, collabels), axis=1)
It works well in preprocessing, but when I run the " ./scripts/train_stanford.sh" , it also returns errors like this

Please let me know if I have some mistakes. Thank you.