-
Hi, But I got an error message after few steps training
The model structure
If I check the data size in the forward by
I got
Then it follows the error message. Because the batch_size is 1, for every step the model output and target shapes are
The criterion is Since the model is training without errors for the first few steps, I guess it's not related to the data preparation? But I can't tell what's wrong with the last step before the error that might cause an issue. Thank you very much for any help. I am tracing back from the source code to check the errors. But I kind of get lost. May I ask where is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
cached
should only be set totrue
in a transductive setting, since you are feeding in different graphs that is not the case. Not sure if that might be causing this error though. Could you please paste the full traceback, so we can see which line inforward
is causing this error.src.index_select
in located here. Also you can find theindex_select
documentation here.