wusize / ovdet

[CVPR2023] Code Release of Aligning Bag of Regions for Open-Vocabulary Object Detection
https://openaccess.thecvf.com/content/CVPR2023/papers/Wu_Aligning_Bag_of_Regions_for_Open-Vocabulary_Object_Detection_CVPR_2023_paper.pdf
Other
174 stars 4 forks source link

'CocoCaptionDataset is already registered #29

Open pipigouao opened 1 year ago

pipigouao commented 1 year ago

thank you for your work

when I implement the code image

I meet the error 'CocoCaptionDataset is already registered in dataset at mmdet.datasets.coco_caption' image and I don't know how to fix it

wusize commented 1 year ago

I guess it's because the name `COCOCaptionDataset' is added in the latest mmdetection. Try using the v3.0.0rc6 version of mmdetection to work around this problem.

pipigouao commented 1 year ago

I guess it's because the name `COCOCaptionDataset' is added in the latest mmdetection. Try using the v3.0.0rc6 version of mmdetection to work around this problem.

image tks a lot! The modification works.

But I don'r understand, this code is for generating class embeddings, why 'COCOCaptionDataset is already registered' can hinder the process of generating class embedding?