Skip to content

Training efficientdet on image with no object ? (Learning from negative images) #167

Answered by rwightman
hieutrluu asked this question in Q&A
Discussion options

You must be logged in to vote

@hieutrluu You shouldn't need to do anything specific for that case, just leave those images with no bbox annotations. The losses should take care of penalizing any predictions for negative images. And the loss config is already designed (retinanet style) to take into account the fact that easy negatives should be downweighted since that's the majority of image space regardless of whether or not you have lots of negative images.

The only thing you may need to do if you have an abnormally large imbalance, is to tweak tweak some of the loss weightings/params

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hieutrluu
Comment options

Answer selected by hieutrluu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants