[KeyError] during train_model() #1084
Replies: 4 comments
-
BTW, the error yielded only after training took place quite a while, I am not sure the training finished or not, but from progress bar, it seems finished...I tried interact(), it worked. not sure how critical this error is. Update: it seems training not finished, I can't find "outputs/" directory and no model saved. Update again, it seems my bad, when I let model download training json file by itself, no this KeyError, though another error....it looks like something wrong with the json training file I downloaded. The new error is not enough memory, I will try it in Colab. Thanks |
Beta Was this translation helpful? Give feedback.
-
it is weird that training in Google colab got same "out of memory" error as in local machine.
Does this model training require huge memory or is it somewhere I did wrong? can anyone help? Update: I tried None (GPU), also run out of memory and cause kernel restart at first epoch. I checked that Colab give 12.8GB RAM for both GPU and None run time. So where is problem? This is my first time to use SimpleTransformers. |
Beta Was this translation helpful? Give feedback.
-
below is GPU run error:
|
Beta Was this translation helpful? Give feedback.
-
CUDA memory error means that the GPU does not have enough memory to train the model with the specified hyperparameters. You can try to reduce the |
Beta Was this translation helpful? Give feedback.
-
I am trying to follow this post to train a convai model, but hit KeyError. Thanks for advice.
training took a while, at the end, it yield a KeyError. Below is error message:
Beta Was this translation helpful? Give feedback.
All reactions