Shaoqing Ren · openalex · en
1The second condition is usually sufficient to determine positive samples, but the first condition is retained for rare cases where the second finds no positive sample.
“Usually the second condition is sufficient to determine the positive samples; but we still adopt the first condition for the reason that in some rare cases the second condition may find no positive sample”
written · p. 5 · 2016-06-06
Shaoqing Ren · openalex · en
2Each mini-batch is composed of 256 randomly sampled anchors from a single image, with a positive-to-negative ratio up to 1:1.
“Each mini-batch arises from a single image that contains many positive and negative example anchors. It is possible to optimize for the loss functions of all anchors, but this will bias towards negative samples as they are dominate. Instead, we randomly sample 256 anchors in an image to compute the loss function of a mini-batch, where the sampled positive and negative anchors have a ratio of *up to* 1:1”
written · p. 5 · 2016-06-06