Does label_map.pbtx have to be contiguous?

Say I would like to quickly remove an object from my dataset. Can I drop all samples with the specific id (say id=7), and then remove the definition of the label with id=7 from the label_map file (making it skip from 6 straight to 8)?

Or is it expected that the ids are contiguous, so that I have to shift all labels (8 and up) down by one after removing 7?

submitted by /u/Meriipu
[visit reddit] [comments]

Leave a Reply

Your email address will not be published.