Alexander-H-Liu / End-to-end-ASR-Pytorch

This is an open source project (formerly named Listen, Attend and Spell - PyTorch Implementation) for end-to-end ASR implemented with Pytorch, the well known deep learning toolkit.
MIT License
1.18k stars 317 forks source link

Add editdistance to requirements.txt #67

Open muramasa2 opened 3 years ago

muramasa2 commented 3 years ago

Hi I'm muramasa from Japan. I got the error when I run

python3 main.py --config config/libri/decode_example.yaml --test --njobs 8
Traceback (most recent call last):
  File "main.py", line 68, in <module>
    from bin.test_asr import Solver
  File "/Users/muratam39/End-to-end-ASR-Pytorch/bin/test_asr.py", line 7, in <module>
    from src.solver import BaseSolver
  File "/Users/muratam39/End-to-end-ASR-Pytorch/src/solver.py", line 10, in <module>
    from src.util import human_format, Timer
  File "/Users/muratam39/End-to-end-ASR-Pytorch/src/util.py", line 7, in <module>
    import editdistance as ed

ModuleNotFoundError: No module named 'editdistance'

So, I fixed requirements.txt.(added the library) Please check and merge this PR.