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
The first line in anchor_manipulator.py: gt_labels = gt_labels + (-1 * tf.to_int64(matched_gt < -1))
The second line in train_ssd.py: batch_negtive_mask = tf.equal(cls_targets, 0)#tf.logical_and(tf.equal(cls_targets, 0), match_scores > 0.)
In my understanding, cls_targets is batched gt_labels, each gt_label is:
=1: object
=0: background including all negatives considered as background
-1: for ignores
But in the second line: cls_target is compared with 0. So what about -1 for ignore???
Didn't you handle that case???
The text was updated successfully, but these errors were encountered:
The first line in anchor_manipulator.py: gt_labels = gt_labels + (-1 * tf.to_int64(matched_gt < -1))
The second line in train_ssd.py: batch_negtive_mask = tf.equal(cls_targets, 0)#tf.logical_and(tf.equal(cls_targets, 0), match_scores > 0.)
In my understanding, cls_targets is batched gt_labels, each gt_label is:
The text was updated successfully, but these errors were encountered: