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

include_dummies option should be on in standard VG dataset training #4

Open
LeoXing1996 opened this issue Jan 18, 2021 · 0 comments
Open

Comments

@LeoXing1996
Copy link

In preprocess_packed_vg.py, min_relationships_per_image option is set as 0 and preverse some images without relationships (self.data['relationships_per_image][index] == 0).

However, in sg2im/data/vg.py, images without relationships may have empty triplets and lead to an error in the following code.

rel_triplets = triplets[triplets[:, 1] == rel].copy()

Should this option be set as True in standard VG dataset training? Or I do something wrong?

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

1 participant