NRI icon indicating copy to clipboard operation
NRI copied to clipboard

For the type of edge in the experimental setup.

Open ZhangNYG opened this issue 4 years ago • 1 comments

There is no supervised training in training. How to know the first type is the existence side and the second type is the non existence side. def edge_accuracy(preds, target): _, preds = preds.max(-1) # preds torch.Size([32, 20, 2]) preds_hou torch.Size([32, 20]) correct = preds.float().data.eq( target.float().data.view_as(preds)).cpu().sum() return np.float(correct) / (target.size(0) * target.size(1))

ZhangNYG avatar Mar 05 '20 01:03 ZhangNYG

It seems you can set skip_first to True to make sure the first edge type denote the non-interaction edges

fatcatZF avatar Sep 15 '21 14:09 fatcatZF