Data-graph conversion operation #367
AslantheAslan
started this conversation in
MAG240M-LSC
Replies: 1 comment 1 reply
-
Hi! The interfaces of OGB datasets and LSC datasets are different. See the tutorial here for how to use the LSC datasets. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After I downloaded the dataset, I wanted to get graph and init_labels such as follows:
However, that makes me end up with the error
'MAG240MDataset' object is not subscriptable
. I have done the same thing with a similar dataset called ogbn-mag but I never faced with such an issue. I would be more than happy if I can learn how I can get g and init_labels.Edit: I got that data types of "ogbn-mag" and "ogb-mag240m" are a bit different so I have converted the data object to a heterogeneous graph. Actually, I am still converting due to the huge amount of nodes and edges but I suppose it will work.
Beta Was this translation helpful? Give feedback.
All reactions