AdelaiDet
AdelaiDet copied to clipboard
Training with negative samples
Hi all,
I was trying to train a SoloV2 network on a dataset of mine with very nice results for foreground objects. However the network seemed to struggle with the background and marked a lot of false positives. To remedy it tried to use negative samples with no objects. However that did not work as the 'loss' or 'get_ground_truth_single' function crash when an empty annotation is given. (soloV2 modeling)
This might also be an issue for the other models. (I have not checked that)
Here the same issue from detectron2 issues.
Is it an option to incorporate this feature into your models, otherwise the models are not really usable with this config: cfg.DATALOADER.FILTER_EMPTY_ANNOTATIONS=False