Open zwshan opened 7 months ago
This is likely a version conflict.
GNMT lists commit 48ba99e657591c329e0003f0c6e32e493fa959ef in https://github.com/NVIDIA/DeepLearningExamples/blob/master/PyTorch/Translation/GNMT/requirements.txt , which does not yet have glossaries_regex
.
I think what is happening is that GNMT saves the model including tokenizer (using commit 48ba99e657591c329e0003f0c6e32e493fa959ef), and you're then trying to run inference with a newer version of subword_nmt which expects different attributes. Installing commit 48ba99e657591c329e0003f0c6e32e493fa959ef should solve this.
I am running the gnmt pytorch from https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Translation/GNMT, when I run
there is a error
Could you please help me?