lowerquality / gentle

gentle forced aligner
https://lowerquality.com/gentle/
MIT License
1.45k stars 295 forks source link

alignment stuck #211

Closed chuckcho closed 5 years ago

chuckcho commented 5 years ago

Similar to https://github.com/lowerquality/gentle/issues/197, the alignment gets stuck at the last step (this is a rather short audio clip <5 min)

python3 align.py  -o ../out.json ../00000256_01.wav ../00000256_01.txt
INFO:root:converting audio to 8K sampled wav
INFO:root:starting alignment
INFO:root:1/17
INFO:root:2/17
INFO:root:3/17
INFO:root:4/17
INFO:root:5/17
INFO:root:6/17
INFO:root:7/17
INFO:root:8/17
INFO:root:9/17
INFO:root:10/17
INFO:root:11/17
INFO:root:12/17
INFO:root:13/17
INFO:root:14/17
INFO:root:15/17
INFO:root:16/17
(hours of waiting and nothing happens)

I'm using the latest version (cloned today) on Mac. Running with --log DEBUG param doesn't seem to provide anything helpful to troubleshoot this.

Somehow if I run the pre-built Mac application, I don't see this problem. Any help please?

yya518 commented 4 years ago

I encounter this same problem with the latest release. The align.py got stuck in the middle of the alignment process. If I kill the process and restart the alignment, the program will run smoothly but it will happen again on another transcript/audio alignment instance later (I have a few hundreds pair of transcript/audio examples). Seems pretty random to me. Any idea to fix the problem?

virajkarandikar commented 3 years ago

I am facing same issue. Its very annoying. I am building docker image using latest master. In some runs it completes operation. But in other runs gets stuck for same input.