Closed Song-xx closed 2 years ago
I maybe found one possible solution. one can use:
from cogdl.datasets import build_dataset_from_name
cora = build_dataset_from_name('cora')
to get the cora data object. then cora.data.edge_index, cora.data.x is the adjacency matrix and the feature.
❓ Questions & Help
I am using "cogdl/example/generate_emb.py" to generate embedding(use gnn algorithm). But I can not find out where to set the parameters or how to do this?
It also can be expressed in another way: In the "cogdl/example/generate_emb.py" ,the code
I think the edge_index is the adjacency matrix and x is the feature, how can I use cora to fill into the function.(can I download the cora and fill it by myself?)
thanks a lot