OpenShape_code icon indicating copy to clipboard operation
OpenShape_code copied to clipboard

Issue with point cloud loss during processing in transform config

Open sumuru789 opened this issue 1 year ago • 0 comments

I have encountered an issue when using your project, where some points in the point cloud are being lost during processing. Specifically, in the config file, the transform configuration is set as follows:transform=[ dict(type="NormalizeCoord"), dict(type="CenterShift", apply_z=True), dict( type="GridSample", grid_size=0.01, keys=("coord", "color", "normal", "origin_coord", "face_index"), hash_type="fnv", mode="train", return_grid_coord=True, return_inverse=True, ), dict(type="CenterShift", apply_z=False), dict(type="NormalizeColor"), dict(type="ToTensor"), dict( type="Collect", keys=("coord", "grid_coord", "inverse", "origin_coord", "face_index"), feat_keys=("coord", "normal", "color"), ), ] It seems that during the point cloud processing, some points are discarded, especially when the GridSample operation is applied. Could you clarify which part of this configuration might be causing the points to be lost? How can I adjust the transform settings to prevent the points from being discarded?

Also, if we decide to avoid discarding points, would it cause any issues with extracting features from dinov2?

Thanks in advance for your help!

sumuru789 avatar Jan 17 '25 12:01 sumuru789