SurroundOcc icon indicating copy to clipboard operation
SurroundOcc copied to clipboard

Do you have the python script for subsampling the full-resolution mesh data with semantics

Open yty-sky opened this issue 2 years ago • 1 comments

yty-sky avatar Jul 20 '23 09:07 yty-sky

Hi, you may refer here https://github.com/weiyithu/SurroundOcc/blob/736b3ada2e4dd0b912593330fd2c96bfbb223aef/tools/generate_occupancy_nuscenes/generate_occupancy_nuscenes.py#L404. We first convert mesh vertices to voxels, and then use KNN to assign semantic labels.

weiyithu avatar Jul 21 '23 03:07 weiyithu