hongfz16 / DS-Net

[CVPR 2021/TPAMI 2023] Rank 1st in the public leaderboard of SemanticKITTI Panoptic Segmentation (2020-11-16)
MIT License
243 stars 29 forks source link

About ins_labels #4

Closed January-cv closed 3 years ago

January-cv commented 3 years ago

Thank you open you code!

dataloader -> dataset.py line 79: "ins_labels = annotated_data" should be changed to "ins_labels = annotated_data >> 16"?

hongfz16 commented 3 years ago

Thanks for the question.

No. You should not change that. If I remember it correctly, the definition of instance label is semantic label + id. The id is counted from zero for each semantic classes.

Therefore, if you change to annotated_data >> 16, there is chance that in the same scene two different instances with different semantic classes share same ins_label.

You can check that easily by yourself. Correct me if I am wrong. Thanks a lot.