Different sized features per node #5794
Unanswered
afonso-sousa
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have this solution to pad to a
|
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.
-
Hi. I have a graph of nodes with different numbers of features (basically because the features are the tokenization ids of words and may vary in length for subword tokenizers). How can I pad the missing features? I do so for each graph but when collating it will not work. Do I need a custom collate function or is there a way to allow for graphs with features of different sizes?
Before passing the data through the model I will take does features and check their corresponding embeddings, so the passing to the model is not an issue. Just the building of a dataloader. Thanks in advance for any help you can provide.
Beta Was this translation helpful? Give feedback.
All reactions