Skip to content

Stanford data preprocessing #48

Description

@minkyujeon

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
)
image

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
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions