jshtok / RepMet

Few-shot detection for visual categories
Apache License 2.0
110 stars 18 forks source link

Are there some missing files in VOC experiment? #24

Open yang-yk opened 4 years ago

yang-yk commented 4 years ago

Hi, @jshtok , When I try to reproduce the VOC experiment, I used the new 'resnet_v1_101_voc0712_trainval_fpn_dcn_oneshot_end2end_ohem_8_orig.yaml' file and I changed the dataset to VOC. I use the 'python experiment/fpn_test.py' command. I find there are some files are missing. Can you provide them for me. I think the '/data/cache/voc_val_partial_gt_roidb.pkl' and 'VOCdevkit/VOCval/ImageSets/Main/partial.txt' are missing. And I don't know if there are some other files that may be missing. Can you help me to solve this problem. Thanks very much! My email is yyk17@mails.tsinghua.edu.cn. Hope to hear from you soon. Best regards, Yukuan Yang

yang-yk commented 4 years ago

Hi, @jshtok , When I try to reproduce the VOC experiment, I used the new 'resnet_v1_101_voc0712_trainval_fpn_dcn_oneshot_end2end_ohem_8_orig.yaml' file and I changed the dataset to VOC. I use the 'python experiment/fpn_test.py' command. I find there are some files are missing. Can you provide them for me. I think the '/data/cache/voc_val_partial_gt_roidb.pkl' and 'VOCdevkit/VOCval/ImageSets/Main/partial.txt' are missing. And I don't know if there are some other files that may be missing. Can you help me to solve this problem. Thanks very much! My email is yyk17@mails.tsinghua.edu.cn. Hope to hear from you soon. Best regards, Yukuan Yang

@duynn912 Do you have the missing files above. Thanks very much!

jshtok commented 4 years ago

Hi Yukuan, In order to work with a new dataset, you need to have the dataset class (e.g., Pascal_VOC) that is called as imdb instance and produces the required roidb by collecting info from Annotations, Images, etc. You need to download the VOCdevkit, which is a standard Pascal repository. The .pkl in data/cache will be produced once this data class will generate the necessary roidb. The treatment of datasets in this code is standard, not part of our contribution. Please follow the examples from other datasets and looc for code that loads Pascal in other repositories that work with this dataset.

Regards, Joseph

duynn912 commented 4 years ago

Hi @yang-yk,

As I answered you in the previous, I changed yaml file according to the author like this one and I can reproduce the results of PASCAL in table 4: image