You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this implementation. In ssd_common.py using default params we have num_classes=8; this is consistent with what is in datasets/kitti*. I understand why no_annotations_label=9, and think I see that these labels > num_classes are handled in tf_bboxes_filter_labels. However, in ssd_common.py we have:
Does this cause an off-by-one error? I understand that the 0th index represents 'none': (0, 'Background'), but in this case should we have specified num_classes=9? Otherwise we do not consider the 'misc' class for KITTI ('Misc': (8, 'Misc'), since label < num_classes is false in this case)?
Given we have num_cls_pred = num_anchors * num_classes predictions (see ssd_vgg_300.py), this means that if num_classes=8 then subpredictions would only consider 7 classes. Is this correct?
The text was updated successfully, but these errors were encountered:
villanuevab
changed the title
num_classes=8 would result in ignoring misc class?
num_classes=8 creates off-by-one error with number of predictions
May 3, 2017
Thanks for this implementation. In
ssd_common.py
using default params we havenum_classes=8
; this is consistent with what is indatasets/kitti*
. I understand whyno_annotations_label=9
, and think I see that these labels >num_classes
are handled intf_bboxes_filter_labels
. However, inssd_common.py
we have:Does this cause an off-by-one error? I understand that the 0th index represents
'none': (0, 'Background')
, but in this case should we have specifiednum_classes=9
? Otherwise we do not consider the 'misc' class for KITTI ('Misc': (8, 'Misc')
, sincelabel < num_classes
is false in this case)?Given we have
num_cls_pred = num_anchors * num_classes
predictions (seessd_vgg_300.py
), this means that ifnum_classes=8
then subpredictions would only consider 7 classes. Is this correct?The text was updated successfully, but these errors were encountered: