Closed smartadpole closed 3 years ago
confidence
has a shape of (batch_size, num_priors, num_classes). Index 0 of the last dim is the prob of background, which is used to find difficult samples(i.e., is more confident to be background). This is called hard negative mining.
I hope this can solve your puzzle.
thankyou
I am puzzled over the loss, why use one of the confidence in the last dim
[:, :, 0]