-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Some questions for implemention of gcn in model.py. #15
Comments
@guokan987 Hi! I'm confused about this code? Does it mean AX?
|
I think that X's size is nxcxvxl, and in the normal(AX) input X's is nxvxcxl, in this place, X in fact is X.transpose, so it exchange A and X location in matrix multiply. But the coffuse place is (AX).tranpose=X.tranposeA.tranpose. In code, there is X.tranposeA. from the traffic graph, A is in-degree direction, A.tranpose is out-degree direction. But, in paper , authors proposed a diffusion gcn: it conclude A and A.transpose. so it look like correct in diffusion-gcn. However the normalization of A should be conducted in column not row in util.py(dims in asym_adj() should be 0, not -1). so I think there is two kinds ways to solve this confusion: |
it looks like the author use the same weight by a mlp after diffusion gcn. i think it not accord with formula (6) or (7),which has k layers and each layer has a unique weight.
|
应该没问题,这里应该是将K层的特征在特征维度上拼接成一个tensor,从而对这个Tensor 进行MLP映射,完成公式内容。 |
Hi, I have a question: we utilze GCN with AXW, but in your model.py, I find it become WXA, Why?
The text was updated successfully, but these errors were encountered: