SHTUPLUS / Pix2Grp_CVPR2024

BSD 3-Clause "New" or "Revised" License
20 stars 1 forks source link

Missing file:VG-SGG-train.h5、VG-SGG-test.h5、VG-SGG-val.h5 #7

Open kongzihan opened 1 month ago

kongzihan commented 1 month ago

I'm trying to train your model on the VG Dataset to reproduce the results. But I could not find the source for these files : VG-SGG-train.h5、VG-SGG-test.h5、VG-SGG-val.h5 in lavis/configs/datasets/vg/defaults_rel_det_train_zs_pred.yaml.

Could you please check if this file is missing or if there is a script to generate this file? Looking forward to your reply.

jkli1998 commented 1 month ago

In the DATASET.MD file, Visual Genome Section, Step 5. ln -s cache/vg/vg_motif_anno/VG-SGG-train.h5 cache/vg/vg_motif_anno/VG-SGG-train_zs_pred.h5. This means that VG-SGG-train_zs_pred.h5 is VG-SGG-train.h5. And ln -s is the command to create a symbolic link.

kongzihan commented 1 month ago

In the DATASET.MD file, Visual Genome Section, Step 5. ln -s cache/vg/vg_motif_anno/VG-SGG-train.h5 cache/vg/vg_motif_anno/VG-SGG-train_zs_pred.h5. This means that VG-SGG-train_zs_pred.h5 is VG-SGG-train.h5. And ln -s is the command to create a symbolic link.

Thank you for your sincere reply. But I couldn't find the file VG-SGG-train_zs_pred.h5/VG-SGG-train.h5 in the download link : scene graphs annotations. Is this file the same as 'VG-SGG-with-attri.h5'? Or is VG-SGG-train_zs_pred.h5/VG-SGG-train.h5 a dataset file that has been re partitioned based on VG-SGG-with-attri.h5? I have the same confusion regarding the val and test dataset files named vg/vg_motif_anno/VG-SGG-val.h5 and vg/vg_motif_anno/VG-SGG-test.h5 in lavis/configs/datasets/vg/defaults_rel_det_train_zs_pred.yaml. I look forward to your response.

Scarecrow0 commented 3 weeks ago

https://github.com/SHTUPLUS/Pix2Grp_CVPR2024/issues/9 Those files are created by softlink, plz refer to this issue.

kongzihan commented 3 weeks ago

您的邮件已经收到!