Closed renmengye closed 8 years ago
thanks Mengye Ren
you are right, I found the my result have slight improvement,
I will revise it soon.
发件人: Mengye Ren notifications@github.com 发送时间: 2016年8月17日 22:04 收件人: Prof-Lu-Cewu/Visual-Relationship-Detection 主题: [Prof-Lu-Cewu/Visual-Relationship-Detection] Misusing MATLAB function "length" (#2)
Hi,
Thanks you for the effort of releasing the source code. In top_recall_Relationship.m, when calculating num_pos_tuple, you used length(gt_tuple_label{ii}). length gives the dimension of the longer axis, which results in an erroneous denominator when calculating recall score. Would you consider fix and use size(gt_tuple_label{ii}, 1) instead?
― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Prof-Lu-Cewu/Visual-Relationship-Detection/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATVciXDUalbaqJvJ6K5_ErNAE7FFqibNks5qgxUCgaJpZM4JmfAK.
Thanks for the reply. Just a reminder that a same fix will apply to top_recall_Phrase.m
.
have fixed
发件人: Mengye Ren notifications@github.com 发送时间: 2016年8月18日 2:34 收件人: Prof-Lu-Cewu/Visual-Relationship-Detection 抄送: Prof-Lu-Cewu; Comment 主题: Re: [Prof-Lu-Cewu/Visual-Relationship-Detection] Misusing MATLAB function "length" (#2)
Thanks for the reply. Just a reminder that a same fix will apply to top_recall_Phrase.m.
― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Prof-Lu-Cewu/Visual-Relationship-Detection/issues/2#issuecomment-240505286, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATVciRcyHJj6eUglueZQlj_zzed9daZlks5qg1Q_gaJpZM4JmfAK.
Hi,
Thanks you for the effort of releasing the source code. In
top_recall_Relationship.m
, when calculatingnum_pos_tuple
, you usedlength(gt_tuple_label{ii})
.length
gives the dimension of the longer axis, which results in an erroneous denominator when calculating recall score. Would you consider fix and usesize(gt_tuple_label{ii}, 1)
instead?