ghchen18 / leca

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

RecursionError in the model training process #13

Open Olivia-fsm opened 2 years ago

Olivia-fsm commented 2 years ago

I have successfully preprocess the paired data, however, when I run the scripts/run.sh file, it shows an RecursionError as following:

Do you have any ideas why this error would occur, and how could I tackle with it? A bunch of hanks in advance!! image

ghchen18 commented 2 years ago

Hi,

what is your pytorch version? It should be consistant with the fairseq v0.6.1. What is the result of 'multilhead_attn.py:213' if you using pytorch debugger like pdb?

I have no idea about the bug, maybe debug with pdb will help.