Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled cases??? #111

Open
lloydnguyen96 opened this issue May 10, 2019 · 0 comments
Open

Unhandled cases??? #111

lloydnguyen96 opened this issue May 10, 2019 · 0 comments

Comments

@lloydnguyen96
Copy link

lloydnguyen96 commented May 10, 2019

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???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant