keras-gcn
keras-gcn copied to clipboard
Face TypeError during load data
As the format of Cora Dataset(cora.cites & cora.content), I generate similar data as Cora. However, It gets error below after a few times modification on my data.
Traceback (most recent call last):
File "train.py", line 26, in
Could you give me some ideas about addressing this problem? Thanks!
I have also encountered this problem. For me, it is because some nodes in the edgelists(.cites) did not have features and labels, and when i make all nodes have features and labels, there is no problem. I wonder that could't semi-supervise learning if there is no feature and label on some nodes?
I have also encountered this problem. For me, it is because some nodes in the edgelists(.cites) did not have features and labels, and when i make all nodes have features and labels, there is no problem. I wonder that could't semi-supervise learning if there is no feature and label on some nodes?
yes. I believe if you initialize a trainable feature for each of those nodes that doesn't have a feature, backpropagation can train it easily.