Yuqifan1117 / CaCao

This is the official repository for the paper "Visually-Prompted Language Model for Fine-Grained Scene Graph Generation in an Open World" (Accepted by ICCV 2023)
40 stars 5 forks source link

Missing file #9

Closed ENDGU closed 10 months ago

ENDGU commented 10 months ago

Hi,i want to know how to get the content of object_list.txt/imdb_512.h5/predicate_alias.txt/VG-SGG.h5/VG-SGG-base.h5/VG-SGG-base-dicts from the fine_grained_predicate_boosting.py file.

Yassin-fan commented 10 months ago

Hello, I also encountered this problem when I was studying related codes.

Some of the files you mentioned can be downloaded from the official website of the VG dataset: object_list.txt

Some of the files can be obtained from the following github repository: predicate_alias.txt VG-SGG.h5 https://github.com/danfeiX/scene-graph-TF-release/tree/master/data_tools

As for VG-SGG-base.h5,VG-SGG-base-dicts,I think this part of files is generated after running the code fine_grained_predicate_boosting.py ( you can view the relevant code, I haven't finished analyzing this part yet).

imdb_512.h5 , As the documentation says, "Image database (currently unavailable, please refer to the next section on how to create an IMDB by yourself)" It seems cannot be downloaded directly. You need to run the code to get it: https://github.com/danfeiX/scene-graph-TF-release/tree/master/data_tools If you find the relevant file, please tell me :)

ENDGU commented 9 months ago

Thank you for your reply. I am also working on running https://github.com/danfeiX/scene-graph-TF-release/blob/master/data_tools/vg_to_imdb.py code in the past few days, attempting to generate imdb_512.h5 files.I have also found files other than VG-SGG-base.h5,VG-SGG-base-dicts.json.

Yassin-fan commented 9 months ago

Have you successfully run and generated the imdb_512.h5 file? I would appreciate it if you could share this file.

ENDGU commented 9 months ago

I just completed this task and the generated imdb_512.h5 file is quite large, approximately 80GB. If you need it, I will upload it to the online drive later.

Yassin-fan commented 9 months ago

Wow, I thought this was a smaller file.

I am currently trying to run the code provided by the above github repository and change "1024" in the sh file to "512", hoping to generate the imdb_512.h5 file. I may ask you again if I have some questions, thank you!