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

meaning of no_loss_mask = -1? #8

Open
InnovArul opened this issue Nov 16, 2017 · 1 comment
Open

meaning of no_loss_mask = -1? #8

InnovArul opened this issue Nov 16, 2017 · 1 comment

Comments

@InnovArul
Copy link

Can anyone give a clarification on the intuition of using no_loss_mask = -1?
https://github.com/jasjeetIM/Mask-RCNN/blob/master/functions/mask_rcnn/mask_get_minibatch.m#L131

As far as I can tell, cross-entropy loss expects target = [0, 1].

@lilydedbb
Copy link

@InnovArul In the prototxt file (https://github.com/jasjeetIM/Mask-RCNN/blob/master/models/mask_rcnn_prototxts/resnet_50layers_conv/train_val.prototxt#L3741), the model ignore the labels which equal -1 when computing the loss.

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

2 participants