You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/zgd21/traffic/DGCN-master/GRCN.py", line 176, in
compute_val_loss(net, val_loader, loss_function, supports, device, epoch=0)
File "/home/zgd21/traffic/DGCN-master/lib/utils.py", line 222, in compute_val_loss
output,, = net(val_w, val_d, val_r, supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/model.py", line 369, in forward
x=self.block1(x,supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/utils.py", line 734, in forward
fea1=self.gcn_conv(tem1,supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/utils.py", line 700, in forward
L2 = 2 *torch.matmul( adj, L1) - L0
RuntimeError: The size of tensor a (370) must match the size of tensor b (170) at non-singleton dimension 1邻接矩阵数据和处理后的数据貌似不匹配
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/zgd21/traffic/DGCN-master/GRCN.py", line 176, in
compute_val_loss(net, val_loader, loss_function, supports, device, epoch=0)
File "/home/zgd21/traffic/DGCN-master/lib/utils.py", line 222, in compute_val_loss
output,, = net(val_w, val_d, val_r, supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/model.py", line 369, in forward
x=self.block1(x,supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/utils.py", line 734, in forward
fea1=self.gcn_conv(tem1,supports)
File "/opt/anaconda3/envs/zgd21tiankeng/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/zgd21/traffic/DGCN-master/utils.py", line 700, in forward
L2 = 2 *torch.matmul( adj, L1) - L0
RuntimeError: The size of tensor a (370) must match the size of tensor b (170) at non-singleton dimension 1邻接矩阵数据和处理后的数据貌似不匹配
The text was updated successfully, but these errors were encountered: