GuangxingHan / Meta-Faster-R-CNN

Code for AAAI 2022 Oral paper: 'Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignment'
81 stars 10 forks source link

Can't find how to generate final_split_voc_{}_shot_instances_train2014.json #26

Open Gzu-xydong opened 1 year ago

Gzu-xydong commented 1 year ago

Dear author, when I ran the 3_gen_support_pool_any_shot_novel_class.py file of the coco dataset, I found the missing new_annotations/final_splitvoc{}_shot_instances_train2014.json file prevented me from generating the relevant support set. I have also carefully examined other codes and have not found the location where this file was generated. Could you tell me where this file was generated? thank you!

Gzu-xydong commented 1 year ago

I have already solved this problem, and I have found that it is necessary to implement the 3_novel_class_coco.py file to generate new annotations before implementing the 3_gen_support_pool_any_shot_novel_class.py file. Thank you very much.

GuangxingHan commented 1 year ago

Yes, you are right.

GYQAme commented 1 year ago

Dear author, FileNotFoundError: [Errno 2] No such file or directory: './new_annotations/final_split_voc_1_shot_instances_train2014.json' How do you solve this problem. I am also stuck in this problem. I cannot find the file final_split_voc_1_shot_instances_train2014.json. May I ask where I can find it?