fast-rcnn icon indicating copy to clipboard operation
fast-rcnn copied to clipboard

How to manually add negative samples for training to improve precision

Open leefionglee opened this issue 9 years ago • 5 comments

Hi All, I have successfully trained faster rcnn on my own dataset. It works with high recall but the precision is quite low with some false positives. I wonder if there is a way to explicitly add negative examples (i.e. as the background) to improve the precision? For example, I can add these false positive areas (from testing) as the negative samples to train a new model.

If yes, then how? thanks!!

leefionglee avatar Dec 14 '15 04:12 leefionglee

Anything on how to increase precision?

korkinof avatar Jan 22 '16 17:01 korkinof

Could you find the way to add negative samples?

ericromanenghi avatar Mar 01 '16 12:03 ericromanenghi

Set TRAIN.BG_THRESH_LO to 0.0?

nwestlake avatar Mar 31 '16 15:03 nwestlake

@leefionglee an updates on this? I'm also having the same problem with high recall and low precision due to false positives.

@nw362 what is the intuition behind doing what you suggested?

Supersak80 avatar May 07 '16 22:05 Supersak80

I think backgrounds are considered negative samples. So you just need to find a way to add bounding boxes with overlap<threshold_overlap to your 'selective search file'.

saiprabhakar avatar Jun 13 '16 14:06 saiprabhakar