djiajunustc / TransVG

157 stars 26 forks source link

What do the pth files in the 'data' folder do #36

Closed preetom-saha-arko closed 1 year ago

preetom-saha-arko commented 1 year ago

In case of Referit dataset, the images are stored in the ln_data/referit/images folder. Then what are the functions of the pth files "containing data indices"? According to your Github repository, these data indices should be downloaded to the 'data' folder. Going through the code, it seems that images are getting passed to the model from the pth files, not from the actual images. What are these "data indices"?

Could you please clarify it? How did you create these pth files/data indices? I need to perform some visual grounding tasks on a custom dataset, so I need to implement a dataloader for it. I am not sure how to create data indices for a custom dataset.