Pytorch Text classification example - error while training, some issues with indexing #13358
Unanswered
vrunm
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to train a model on text classification. Every time I run the training block, I run into some or other index related key error. I have reset the index many times, try to drop the columns but it didnt help. Below is the piece of code ( please ignore the lines after the error message, they are just random check to see if the index value is present
I try to reset the index, dropped the secondary index adverty created and try to perform train test split on the clean dataset. Still the key error persist.
Beta Was this translation helpful? Give feedback.
All reactions