Closed Ali2500 closed 1 year ago
@Ali2500 class ID 1 is not being skipped - in the code snippet you showed above, the arrays are being indexed starting from 1 ( [1:self.min_stuff_cls_id]
), i.e. 1
is included
@whyekit-motional Class ID 1 is not skipped, but class ID 0 is. My question was why ID 0 is being skipped. Since python has zero-based indexing, the 'first' ID would be 0.
@Ali2500 class ID 0 is the void / ignore
class (see here), and so it is skipped during evaluation
I noticed the following two lines of code in python-sdk/nuscenes/eval/panoptic/panoptic_track_evaluator.py#L339:
where
self.pan_iou
andself.pan_ids
both have shape [num_classes]. I wanted to know why the first class ID is being skipped here? This corresponds to the BARRIER class. Is there something special about it?