textgenrnn
textgenrnn copied to clipboard
random keyerrors
Hi,
When I train my models, I randomly get the following key error. Any idea what might be causing the problem?
Traceback (most recent call last):
File "train.py", line 39, in
What's happening is that the model is trying to select a value representing an unknown char/word. I thought I put safeguards against this but apparently that was insufficient.
is there a quick fix I can do to the code, or is it more complicated? (would a try/catch somewhere at least prevent the script to crash?) because no matter what i do, retrain/use another data etc. it always come to that point where it crashes :(
I am getting this as well. I am using a cleaned up, shorter version of the cornell movie dialog corpus.
@minimaxir the problem is still there, any ETC on this issue?