StreamingTransformer
StreamingTransformer copied to clipboard
Question about ImportError: No module named sentencepiece
I run the script in the following command: ./run --stage 2 and the error is:
File "~/StreamingTransformer/egs/librispeech/asr1/../../../utils/spm_encode", line 14, in
But in ESPNet , there was no such error. I try to solve but failed in this way: https://github.com/espnet/espnet/issues/1656 Is there any solution? Thanks!!
torch_version=1.7.0 cuda_version=11.0 python_version=3.8.10
Well this problem may be caused by the fourth line in path.sh, i.e., [ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh. So you can remove it in this project.