ghchen18 / leca

Code for Lexical-Constraint-Aware Neural Machine Translation via Data Augmentation
Other
17 stars 5 forks source link

a bug #5

Closed Haojin-Hu closed 3 years ago

Haojin-Hu commented 3 years ago

File "/public/home/zhchynnu/perl5/panda/cv/leca-master/fairseq/data/language_pair_dataset.py", line 145, in getitem assert self.sep_idx not in self.src[index] AssertionError