Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion about sp_gat's bias_mat #35

Open
hapoyige opened this issue Oct 15, 2019 · 1 comment
Open

Confusion about sp_gat's bias_mat #35

hapoyige opened this issue Oct 15, 2019 · 1 comment

Comments

@hapoyige
Copy link

Hi, Petar

Thanks for your great works!

I have some questions about sp_gat model's bias_mat input.
I notice that it is process from utils/process.py
function preprocess_adj_bias()

indices = np.vstack((adj.col, adj.row)).transpose() # This is where I made a mistake, I used (adj.row, adj.col) instead

I just don't understand your comment here: the return values of the function is feed to tf.sparse_placeholder then, and (adj.row, adj.col) is standard input for tf.SparseTensor , So why you use (adj.col, adj.row) instead ? In other words, I will make the same mistake with you! Could you explain? Many thanks!

@LeungH
Copy link

LeungH commented Dec 16, 2019

I have the same confusion about this. Do you understand now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants