how to do 'hard negative mining'?
Closed this issue · 7 comments
how to do 'hard negative mining'? can you share the process detail?thank you very much
@swy0915 This is the tricky part. Usually it includes two steps. The first random sampling step is easier, it starts with obtaining the tissue mask of each tumor slide. Then I randomly sample coordinates based on the tumor tissue mask and determine it's label based on the annotation. The code for the second hard negative mining part is messy, and it involves training a first model, obtain false tumor regions with high probability, and save them as coordinates.
@yil8 combined those coordinates with the randomly sampled ones,and retrain model again .and repeating this process? the randomly sample is the first step's sample or another randomly sample