Closed Hong753 closed 5 months ago
The valid_mask is used to mask out the invalid value 255 instead of free voxels, the value 255 is filled in LoadOccGTFromFile
because of the rotation in bda. By the way, here the free_id is num_classes -1
, not 0.
Yes, I understand that the free_id is num_classes-1 for voxel_semantics, but I thought that you intended to use voxel_instances instead. I just found the line you were referring to. Thanks!
Hello, may I ask what's the point of valid_mask in line 84 of "sparseocc_head.py"? If I followed your code correctly, voxel_semantics does not have any values with 255. Is the valid_mask intended to mask out free voxels, which in case, it would be valid_mask = (voxel_semantics_sparse > 0) ?