Closed yao-jz closed 1 year ago
When generating VinVL features, in file: prepare_data_for_okvqa.py
prepare_data_for_okvqa.py
Theimg_key is ''.
img_key
''
img_key = img_p.split('.')[0].split('_')[-1] should be img_key = str(imgId).zfill(12)
img_key = img_p.split('.')[0].split('_')[-1]
img_key = str(imgId).zfill(12)
The same for ocr.py
ocr.py
Thanks for pointing this out. I may forgot to update some of the codes. Just do whatever it works ^_^
When generating VinVL features, in file:
prepare_data_for_okvqa.py
The
img_key
is''
.img_key = img_p.split('.')[0].split('_')[-1]
should beimg_key = str(imgId).zfill(12)
The same for
ocr.py