microsoft / Oscar

Oscar and VinVL
MIT License
1.04k stars 251 forks source link

File "./oscar/datasets/oscar_tsv.py", line 114, in __init__ img_feat_offset_map = self.img_feat_offset_map[dataset_name][chunk_id] KeyError: '0' #115

Open wangxiao5791509 opened 3 years ago

wangxiao5791509 commented 3 years ago
ckmstydy commented 3 years ago

Hello. In line 382 of oscar_tsv.py, img_label_file_path is os.path.join(self.image_label_path[dataset_name], 'predictions_gt.tsv'), However, the file I downloaded only contains prediction.tsv. May I ask where to download predictions_gt.tsv in the code, or are these two the same?