Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation on VRD dataset #33

Closed
1799336361 opened this issue Sep 13, 2023 · 1 comment
Closed

Evaluation on VRD dataset #33

1799336361 opened this issue Sep 13, 2023 · 1 comment

Comments

@1799336361
Copy link

Hi. Thanks for sharing your nice work! i was wondering how to evaluate on VRD datasets?

@Pamasi
Copy link

Pamasi commented Oct 2, 2023

Hi, I've used RelTr for custom datasets : the easiest way is to convert VRD dataset into coco-format and then adding a json file for the relationship using the same structure adopted by the author i.e. { "train": { <image_id>: [<subject_bbox_id>, <object_bbox_id>, <relationship_id>] ...}, "test": { <image_id>: [<subject_bbox_id>, <object_bbox_id>, <relationship_id>] ...}, "val": { <image_id>: [<subject_bbox_id>, <object_bbox_id>, <relationship_id>] ...}, "rel_categories": { <name_of_relationship> ... } }; otherwise you should create a custom dataset class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants