ImportError: cannot import name 'with_torch_seed' from 'fairseq.utils'
anzisheng opened this issue · comments
when I run the train.py, I meet across an error:“ImportError: cannot import name 'with_torch_seed' from 'fairseq.utils'”。 Anyone can tell me how should I solver it ?
Hi, can you verify what fairseq version did you install?
You can also try pip install fairseq==0.10.2