szzexpoi / POEM

Official Implementation for CVPR 2023 paper "Divide and Conquer: Answering Questions with Object Factorization and Compositional Reasoning"
10 stars 0 forks source link

file missing #3

Closed bonbonx01 closed 3 months ago

bonbonx01 commented 3 months ago

when i run 'gqa_exp/train.py', and in the line 72 of 'gqa_exp/DataLoader.py'. The file 'img_size.json' that this code is supposed to load dose not seem to be provided or generated. Could you provide me with more information about this file? How should it be generated? Thank you!

szzexpoi commented 3 months ago

Oh, I see. Sorry this is also related to something I generated for the previous projects. You can generate the file by iterating through all GQA images, and store their sizes as a dictionary (where the key is the image ID and the value is the corresponding [height, width]).

bonbonx01 commented 3 months ago

ok! thank you ~