Closed GeneralPoxter closed 3 years ago
Changing that line in iterator.py fixes the issue on my system too.
Could you make a pull request to fix this for everyone?
I made a modification to the pyproject.toml changing the source repo to my fork of your fork, since it appears that I cannot make pull requests directly to your fork.
While trying to train the rnn guesser, I encountered the following error:
This is connected to the custom torchtext package used by the pyproject.toml, and specifically, these lines of code.
This StackOverflow post explains the issue regarding StopIteration for Python versions 3.7 and up.
I made changes in my own fork according to the corresponding lines in the current torchtext repo. On my system, these changes seem to fix the issue.