Skip to content
Discussion options

You must be logged in to vote

I checked and seems to be a problem of the batch generation.
Essentially my dataset looks like this:

HeteroData(
  SYNTAX_NODE={
    node_id=[29895],
    type_id=[29895]
  },
  SYNTAX_TOKEN={
    node_id=[26626],
    value_id=[26626],
    type_id=[26626]
  },
  (SYNTAX_NODE, edge_type_1, SYNTAX_NODE)={
    edge_index=[2, 29893],
    edge_attr=[29893]
  },
  (SYNTAX_NODE, edge_type_1, SYNTAX_TOKEN)={
    edge_index=[2, 26626],
    edge_attr=[26626]
  },
  (SYNTAX_NODE, edge_type_2, SYNTAX_NODE)={
    edge_index=[2, 5989],
    edge_attr=[5989]
  },
  (SYNTAX_NODE, edge_type_4, SYNTAX_NODE)={
    edge_index=[2, 5533],
    edge_attr=[5533]
  },
  (SYNTAX_NODE, edge_type_2, SYNTAX_TOKEN)={
   …

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@GianlucaDeStefano
Comment options

Comment options

You must be logged in to vote
8 replies
@wsad1
Comment options

@GianlucaDeStefano
Comment options

@wsad1
Comment options

@GianlucaDeStefano
Comment options

@GianlucaDeStefano
Comment options

Answer selected by GianlucaDeStefano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants