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
'loss_b_2' has no attributes of grad_fn and requires_grad as False, then, it give no effect in the gradient of positional embedding p when gradients of the loss propagate backward.
It is because the P and PTP_In is a scipy sparse matrix instead of a pytorch tensor.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
gnn-lspe/nets/ZINC_graph_regression/gatedgcn_net.py
Line 156 in 6b38443
'loss_b_2' has no attributes of
grad_fn
andrequires_grad
asFalse
, then, it give no effect in the gradient of positional embeddingp
when gradients of the loss propagate backward.It is because the
P
andPTP_In
is a scipy sparse matrix instead of a pytorch tensor.Was that intended?
Beta Was this translation helpful? Give feedback.
All reactions