Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Sigmoid Cross-Entropy Loss: ignore selected targets by `ignore_label` #4986
Conversation
shelhamer
added the
enhancement
label
Nov 15, 2016
shelhamer
merged commit 28c135c
into
BVLC:master
Nov 17, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shelhamer commentedNov 15, 2016
•
edited
Sigmoid cross-entropy loss learns to ignore by zeroing out the loss/diff at targets equal to
the configured
ignore_label.ignore_labelNote that sig-ce loss and softmax loss have different defaults for normalization: batch size (sig-ce) and valid (softmax).
TODO: the common normalization and ignore logic should be pulled up into
LossLayer, and layers should die loudly by default instead of silently ignoring these options.