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
Hi all,
I want to convert a PyG HeteroData object to cogdl.data.Graph. Can I use from_pyg_data function ? I am not sure if it support HeteroData object.
Bests !
Chen-Rui
The text was updated successfully, but these errors were encountered:
xiachenrui
changed the title
How to convert PyG dataset to CogDL dataset
How to convert PyG HeteroData object to CogDL dataset
Feb 28, 2023
I create the PyG HeteroData object with my own data. In detail, my dataset contains one node type and multiple edge types. Could you please tell me how to use my data to create a Codgl Graph object, I do not find a tutorial for hetero graph buliding in Codgl yet.
I found the bulid-in hetero dataset such as gtn-acm seems use a list to represent adjacent matrix of every edge type respectively. But I am still not clear how node types are involved.
❓ Questions & Help
Hi all,
I want to convert a PyG
HeteroData
object tocogdl.data.Graph
. Can I usefrom_pyg_data
function ? I am not sure if it supportHeteroData
object.Bests !
Chen-Rui
The text was updated successfully, but these errors were encountered: