Dyamic-Graph-Representation icon indicating copy to clipboard operation
Dyamic-Graph-Representation copied to clipboard

About graph_pair_sim function

Open zzh-ecnu opened this issue 4 years ago • 1 comments

Hello~An excellent work!

When reading your code, i find that the implement of function "graph_pair_sim" is different from loss.py and match_fn.py

Code in match_fn.py

dis_loc = (loc_dis_mat * weight_mat).mean()

Code in loss.py

dis_loc = (loc_dis_mat * weight_mat).sum()

I think cause goal of script is different, so when matching it is mean(), and when calculating loss it is sum(), all right?

zzh-ecnu avatar Dec 03 '20 02:12 zzh-ecnu