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

maybe bug in model_builder_rel.py(pytorch1_0 version) ? #22

Open
yrcong opened this issue Feb 25, 2020 · 0 comments
Open

maybe bug in model_builder_rel.py(pytorch1_0 version) ? #22

yrcong opened this issue Feb 25, 2020 · 0 comments

Comments

@yrcong
Copy link

yrcong commented Feb 25, 2020

Hi,

for the code of pytorch1.0 version, in model_builder_rel.py line 504

_, prd_bias_scores_sbj_pos, _, ttl_cls_scores_sbj_pos, _, _, prd_cls_feats = \ self.RelDN(spo_feat_sbj_pos, spt_feat_sbj_pos, sbj_labels_sbj_pos_fg, obj_labels_sbj_pos_fg, sbj_feat_sbj_pos, obj_feat_sbj_pos)

7 elements are expected but RelDN (reldn_heads.py) only returns 6 (line 136).
return prd_vis_scores, prd_bias_scores, prd_spt_scores, ttl_cls_scores, sbj_cls_scores, obj_cls_scores

For the master branch there is not this problem..

Is this only a bug or something that i didn't understand or made mistakes?

thanks a lot

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