INFINIQ-AI1 / RISF

official implementation of "Re-scoring using image-language similarity for few-shot object detection" CVIU, April 2024
Other
9 stars 0 forks source link

What's the meaning of exclude_ids #8

Open dashenfeng opened 8 hours ago

dashenfeng commented 8 hours ago

Thanks for your great work!

I want to know what's the meaning of exclude_ids in evaluation/cmclip.py line117? I want to run your code in my own dataset,thanks for your reply! def clsid_filter(self): dsname = self.cfg.DATASETS.TEST[0] exclude_ids = [] if 'test_all' in dsname: if 'coco' in dsname: exclude_ids = [7, 9, 10, 11, 12, 13, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 59, 61, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79] elif 'voc' in dsname: exclude_ids = list(range(0, 15)) else: raise NotImplementedError return exclude_ids

dashenfeng commented 8 hours ago

Is this the id of the base class?