pytorch/torchtext incompatibility issues
Torchtext has a few incompatibilites:
torchtext.data.datasetandtorchtext.data.iteratorare wrappers aroundpytorch.utils.data.Datasetandpytorch.utils.DataLoader- notably the
torchtext.data.iteratoris not compatible with the pytorchsubsetor thetorch.utils.data.sampler - highlighted in: https://github.com/pytorch/text/issues/664
- possible to get https://discuss.pytorch.org/t/out-of-vocabulary-keyerror-on-vocab-stoi-in-torchtext/65910