ABSA-PyTorch icon indicating copy to clipboard operation
ABSA-PyTorch copied to clipboard

Issue with infer example

Open yassmine-lam opened this issue 4 years ago • 1 comments

Hi,

I tried to infer an example using ASGCN model with the same dataset used for evaluation in training process. However, I got this error

output = torch.matmul(adj, hidden) / denom RuntimeError: batch1 dim 2 must match batch2 dim 1

Any ideas plz?

Thank u in advance

yassmine-lam avatar Dec 30 '21 05:12 yassmine-lam

It seems that the dependency matrix has not been processed properly. Could you please give the details of your example?

GeneZC avatar Dec 30 '21 05:12 GeneZC