Open mandal4 opened 3 years ago
I have gone through the code myself to the extent that I think I may answer your question. According to their paper, it seems that their model (DAnA) and all other models re-implemented are supposed to be trained with the "two-way constrastive learning strategy," introduced by the FSOD paper (Few-Shot Object Detection with Attention-RPN and Multi-Relation Detector by Qi Fan, et al.).
It seems to me that due to the way the learning strategy is used, only one class is randomly sampled, even though there are different classes from gt_boxes. It basically first loads all classes stored in gt_boxes, randomly sample one, and then use the class to index the support set. You may also notice that by defining k-number of shots, you basically define how many samples you want to take from that specific support category. All in all, the support directory is where they acquire the support set. Check in the code how support examples are added to the support_pool and you may find your answer there.
I don't think there is any experimental results with pascal voc. I am also quite surprised that they didn't do an experiment on the three base/novel splits experiment on pascal voc, which I think is quite common in the FSOD literature.
Thanks for releasing the source codes, I have two questions about data setting.
Thanks,