PRBonn / semantic-kitti-api

SemanticKITTI API for visualizing dataset, processing data, and evaluating results.
http://semantic-kitti.org
MIT License
783 stars 187 forks source link

out of range labels #15

Closed seon92 closed 5 years ago

seon92 commented 5 years ago

Hello,

Thank you for sharing great data and awesome codes!

I think that some point labels are out of range. For instance, I can find '131076', '16449537', ... in '004070.label' of sequence '08'. (I converted label files to cross entropy format using your 'remap_semantic_labels.py')

So, I have some questions.

I will be waiting for your reply. Thanks!!

jbehley commented 5 years ago

Note that the label is inside the lower 16 bit of the uint32, i.e., value &0xFFFF = label. The upper 16 bit correspond to the instance id, which is available for humans and vehicle, i.e., value >> 16 = instance.

hope that solves your issue.

seon92 commented 5 years ago

Oh,, I got it. Everything is clear now. Thank you for prompt answer!